Skip to contentSkip to conversation

ehea: add MODULE_DEVICE_TABLE

PATCH In review Jan-Bernd Themann 1 participant 1 message Jul 3, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 ehea: add MODULE_DEVICE_TABLE

Required to allow distros to easily detect when ehea module needs to be loaded

---

drivers/net/ehea/ehea_main.c +1 -0
diff -Nurp -X dontdiff linux-2.6.26-rc8/drivers/net/ehea/ehea_main.c patched_kernel/drivers/net/ehea/ehea_main.c
@@ -118,6 +118,7 @@ static struct of_device_id ehea_device_t
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, ehea_device_table);
 
 static struct of_platform_driver ehea_driver = {
 	.name = "ehea",