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

Guillaume Gardet guillaume.gardet at free.fr
Wed May 2 08:58:15 EDT 2012


Hi,

Le 02/05/2012 13:52, Sergei Shtylyov a écrit :
> 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.

Ok.

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

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

Regards,

Guillaume


>
> WBR, Sergei
>



More information about the linux-arm-kernel mailing list