[PATCH] staging/dream: add missing include files/fix compilation

Daniel Walker dwalker at codeaurora.org
Sun Jan 31 08:31:30 EST 2010


On Sun, 2010-01-31 at 09:44 +0100, Pavel Machek wrote:

> arch/arm/mach-msm/rpc_hsusb.c: In function 'msm_chg_rpc_connect':
> arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of
> function 'machine_is_msm7201a_surf'
> arch/arm/mach-msm/rpc_hsusb.c:156: error: implicit declaration of
> function 'machine_is_msm7x27_surf'
> arch/arm/mach-msm/rpc_hsusb.c:157: error: implicit declaration of
> function 'machine_is_qsd8x50_surf'
> make[1]: *** [arch/arm/mach-msm/rpc_hsusb.o] Error 1
> make: *** [arch/arm/mach-msm] Error 2
> 
> (and similar error further down). This fixes it, but you probably want
> to add machine_is_* to your git. (Aha, is that what you meant by
> "machine types"?

Yeah, those machines aren't registered so the inlines don't get
generated .. 

> With this patch it compiles.

I need to actually register those machine types, So I can't remove them.
They are valid boards.

Daniel




More information about the linux-arm-kernel mailing list