drivers: bus: omap-ocp2scp: Fix compile error
Subsystems (2)
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'
Signed-off-by Kishon Vijay Abraham I <[email protected]>
--- drivers/bus/omap-ocp2scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/omap-ocp2scp.c +1 -1
@@ -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
Quoted 6 lines · Kishon Vijay Abraham I
Fixes
CC [M]drivers/bus/omap-ocp2scp.odrivers/bus/omap-ocp2scp.c:70:1: error: '__mod_of_device_table' aliased to undefined symbol 'omap_usb2_id_table'Signed-off-by Kishon Vijay Abraham I <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- drivers/bus/omap-ocp2scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/bus/omap-ocp2scp.c +1
-1@@ -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