Browse Source

IB/ehca: Make device table externally visible

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>
Joachim Fenkes 17 năm trước cách đây
mục cha
commit
038919f296

+ 1 - 0
drivers/infiniband/hw/ehca/ehca_main.c

@@ -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 = {
 static struct of_platform_driver ehca_driver = {
 	.name        = "ehca",
 	.name        = "ehca",