Skip to contentSkip to conversation

drivers: bus: omap-ocp2scp: Fix compile error

PATCH In review Kishon Vijay Abraham I 2 participants 2 messages Aug 23, 2012

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

PATCH 1/1 drivers: bus: omap-ocp2scp: Fix compile error

Fixes
CC [M] drivers/bus/omap-ocp2scp.o drivers/bus/omap-ocp2scp.c:70:1: error: '__mod_of_device_table' aliased to undefined symbol 'omap_usb2_id_table'

---
 drivers/bus/omap-ocp2scp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/omap-ocp2scp.c +1 -1
index 9075ef8..ff63560 100644
@@ -67,7 +67,7 @@ static const struct of_device_id omap_ocp2scp_id_table[] = {
 	{ .compatible = "ti,omap-ocp2scp" },
 	{}
 };
-MODULE_DEVICE_TABLE(of, omap_usb2_id_table);
+MODULE_DEVICE_TABLE(of, omap_ocp2scp_id_table);
 #endif
 
 static struct platform_driver omap_ocp2scp_driver = {
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Kishon Vijay Abraham I

Fixes
CC [M] drivers/bus/omap-ocp2scp.o drivers/bus/omap-ocp2scp.c:70:1: error: '__mod_of_device_table' aliased to undefined symbol 'omap_usb2_id_table'

Thanks.

Quoted 17 lines
---
 drivers/bus/omap-ocp2scp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/omap-ocp2scp.c +1 -1
index 9075ef8..ff63560 100644
@@ -67,7 +67,7 @@ static const struct of_device_id omap_ocp2scp_id_table[] = {
 	{ .compatible = "ti,omap-ocp2scp" },
 	{}
 };
-MODULE_DEVICE_TABLE(of, omap_usb2_id_table);
+MODULE_DEVICE_TABLE(of, omap_ocp2scp_id_table);
 #endif
 
 static struct platform_driver omap_ocp2scp_driver = {
Signature · 1 line
~Randy