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

Sergei Shtylyov sshtylyov at mvista.com
Wed May 2 07:52:23 EDT 2012


Hello.

On 01-05-2012 22:35, Guillaume Gardet wrote:

> 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.

> Signed-off-by: Guillaume GARDET<guillaume.gardet at free.fr>

> ---
> drivers/mfd/omap-usb-host.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
> index c8aae66..7e96bb2 100644
> --- a/drivers/mfd/omap-usb-host.c
> +++ b/drivers/mfd/omap-usb-host.c
> @@ -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



More information about the linux-arm-kernel mailing list