Error for machine_is_m28evk
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Tue Nov 8 02:53:49 EST 2011
Hi,
On Tue, Nov 08, 2011 at 07:30:19AM +0100, Stefano Babic wrote:
> On 11/08/2011 02:49 AM, Fabio Estevam wrote:
> > On a 3.2-rc1 kernel I get the following error when trying to build
> > mxs_defconfig:
> >
> > CHK include/generated/compile.h
> > CC arch/arm/mach-mxs/clock-mx28.o
> > arch/arm/mach-mxs/clock-mx28.c: In function 'clk_misc_init':
> > arch/arm/mach-mxs/clock-mx28.c:748: error: implicit declaration of
> > function 'machine_is_m28evk'
> > make[1]: *** [arch/arm/mach-mxs/clock-mx28.o] Error 1
> > make: *** [arch/arm/mach-mxs] Error 2
>
> This is due to the missing mach-id for the M28. The mach-id for this
> board was requested and it is 3613, already set as "mainlined" at
> http://www.arm.linux.org.uk/developer/machines/. We need an update of
> mach-types.
Maybe add a
#ifndef machine_is_m28evk
#define machine_is_m28evk() 0
#endif
to one of the headers until Russell is willing to update mach-types
again?!
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list