]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/ehca: Make device table externally visible
authorJoachim Fenkes <fenkes@de.ibm.com>
Tue, 15 Jul 2008 06:48:49 +0000 (23:48 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 15 Jul 2008 06:48:49 +0000 (23:48 -0700)
This gives ehca an autogenerated modalias and therefore enables automatic loading.

Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_main.c

index 482103eb6eacdc699430c7455e9e9b723515443f..598844d2edc93131a0cd1c9264035e1651f2097a 100644 (file)
@@ -923,6 +923,7 @@ static struct of_device_id ehca_device_table[] =
        },
        {},
 };
+MODULE_DEVICE_TABLE(of, ehca_device_table);
 
 static struct of_platform_driver ehca_driver = {
        .name        = "ehca",