Skip to contentSkip to conversation

Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c

PATCH Superseded Guillaume Gardet 2 participants 3 messages May 1, 2012 – May 2, 2012

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c

Fix compilation error for omap boards (beagleboard, etc.) due to missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c leading to build error (unknown cpu_is_omap3430, omap_rev and OMAP3430_REV_ES2_1).

KernelVersion: 3.4-rc5

---
  drivers/mfd/omap-usb-host.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/omap-usb-host.c +1 -0
index c8aae66..7e96bb2 100644
@@ -25,6 +25,7 @@
  #include<linux/clk.h>
  #include<linux/dma-mapping.h>
  #include<linux/spinlock.h>
+#include<plat/cpu.h>
  #include<plat/usb.h>
  #include<linux/pm_runtime.h>
#1 lore raw

PATCH 1/1 Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c

Hello.

Quoted 5 lines · Guillaume Gardet

Fix compilation error for omap boards (beagleboard, etc.) due to missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c leading to build error (unknown cpu_is_omap3430, omap_rev and OMAP3430_REV_ES2_1).

KernelVersion: 3.4-rc5

This should have been specified under --- tear line.

Quoted 11 lines

---
drivers/mfd/omap-usb-host.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
drivers/mfd/omap-usb-host.c +0 -0
index c8aae66..7e96bb2 100644

drivers/mfd/omap-usb-host.c line 30

Quoted 6 lines
drivers/mfd/omap-usb-host.c +1 -0
@@ -25,6 +25,7 @@
 #include<linux/clk.h>
 #include<linux/dma-mapping.h>
 #include<linux/spinlock.h>
+#include<plat/cpu.h>
 #include<plat/usb.h>
 #include<linux/pm_runtime.h>

Something ate spaces between #include and < in your patch (this time it's
not my Thunderbird).

WBR, Sergei

#2 lore raw

PATCH 1/1 Add missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c

Hi,

Le 02/05/2012 13:52, Sergei Shtylyov a ?crit :

Quoted 11 lines

Hello.

Quoted 5 lines · Guillaume Gardet

Fix compilation error for omap boards (beagleboard, etc.) due to missing include <plat/cpu.h> in drivers/mfd/omap-usb-host.c leading to build error (unknown cpu_is_omap3430, omap_rev and OMAP3430_REV_ES2_1).

KernelVersion: 3.4-rc5

This should have been specified under --- tear line.

Ok.

Quoted 7 lines
Quoted 7 lines

---
drivers/mfd/omap-usb-host.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 13 lines

drivers/mfd/omap-usb-host.c line 30

Quoted 11 lines
drivers/mfd/omap-usb-host.c +1 -0
index c8aae66..7e96bb2 100644
@@ -25,6 +25,7 @@
 #include<linux/clk.h>
 #include<linux/dma-mapping.h>
 #include<linux/spinlock.h>
+#include<plat/cpu.h>
 #include<plat/usb.h>
 #include<linux/pm_runtime.h>

Something ate spaces between #include and < in your patch (this time it's not my Thunderbird).

Hmm, it is strange. I will resend it now.

Regards,

Guillaume

Quoted 3 lines

WBR, Sergei