Skip to contentSkip to conversation

bus: fix omap compile error if CONFIG_OF is true

PATCH In review Alan Cox 4 participants 4 messages Sep 4, 2012 – Sep 5, 2012

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 bus: fix omap compile error if CONFIG_OF is true

From: Alan Cox <[email protected]>

---

 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 = {
#1 lore raw

PATCH 1/1 bus: fix omap compile error if CONFIG_OF is true

Hi all,

Quoted 14 lines · On Tue, 04 Sep 2012 15:41:35 +0100 Alan Cox <[email protected]> wrote:

From: Alan Cox <[email protected]>

---

 drivers/bus/omap-ocp2scp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/omap-ocp2scp.c +0 -0
index 9075ef8..ff63560 100644

drivers/bus/omap-ocp2scp.c static const struct of_device_id omap_ocp2scp_id_table[] = { · line 73

Quoted 8 lines
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 = {

This was caused by commit 26a84b3eaef0 ("drivers: bus: add a new driver for omap-ocp2scp") which has been in the arm-soc tree for a few days ...

Thanks, Alan.

Signature · 9 lines
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120905/71c9693f/attachment.sig>
#2 lore raw
In reply to Alan Cox
Quoted 13 lines · Alan Cox

From: Alan Cox <[email protected]>

---

 drivers/bus/omap-ocp2scp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bus/omap-ocp2scp.c +0 -0
index 9075ef8..ff63560 100644

drivers/bus/omap-ocp2scp.c static const struct of_device_id omap_ocp2scp_id_table[] = {

Quoted 10 lines
drivers/bus/omap-ocp2scp.c +1 -2
@@ -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 = {
 
--

Kishon posted a patch for this on Aug. 23:
http://marc.info/?l=linux-next&m=134574365000518&w=2

Who needs to merge it?

Signature · 1 line
~Randy
#3 lore raw
Quoted 24 lines · Randy Dunlap
Quoted 22 lines · Alan Cox

From: Alan Cox <[email protected]>

---

 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 = {
Quoted 7 lines
Quoted 1 line

--

Kishon posted a patch for this on Aug. 23:
http://marc.info/?l=linux-next&m=134574365000518&w=2

Who needs to merge it?

I've applied the first patch to arm-soc, since that's where the breakage was introduced. Pushing out shortly.

-Olof