Re: MTX build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Friday 28 August 2009 10:53:34 Manuel Lauss, vous avez écrit :
> Ralf Baechle wrote:
> >   CC      drivers/input/keyboard/gpio_keys.o
> > /home/ralf/src/linux/linux-mips/drivers/input/keyboard/gpio_keys.c: In
> > function ‘gpio_keys_probe’:
> > /home/ralf/src/linux/linux-mips/drivers/input/keyboard/gpio_keys.c:123:
> > error: implicit declaration of function ‘gpio_request’
> > /home/ralf/src/linux/linux-mips/drivers/input/keyboard/gpio_keys.c:135:
> > error: implicit declaration of function ‘gpio_free’ make[5]: ***
> > [drivers/input/keyboard/gpio_keys.o] Error 1
> > make[4]: *** [drivers/input/keyboard] Error 2
> > make[3]: *** [drivers/input] Error 2
> > make[2]: *** [drivers] Error 2
> > make[1]: *** [sub-make] Error 2
>
> Either something like the patch below, or adding stubs for
> gpio_request/gpio_free to asm/mach-au1x00/gpio-au1000.h in the
> CONFIG_GPIOLIB=n case should fix it.

The patch below fixes it for me, so feel free to add my:
Tested-by: Florian Fainelli <florian@xxxxxxxxxxx>

>
> diff --git a/arch/mips/alchemy/Kconfig b/arch/mips/alchemy/Kconfig
> index 1e0a6df..f0c930a 100644
> --- a/arch/mips/alchemy/Kconfig
> +++ b/arch/mips/alchemy/Kconfig
> @@ -20,6 +20,7 @@ config MIPS_MTX1
>  	select HW_HAS_PCI
>  	select SOC_AU1500
>  	select SYS_SUPPORTS_LITTLE_ENDIAN
> +	select GPIOLIB
>
>  config MIPS_BOSPORUS
>  	bool "Alchemy Bosporus board"
>
>
> 	Manuel Lauss
-- 
Best regards, Florian Fainelli
Email: florian@xxxxxxxxxxx
Web: http://openwrt.org
IRC: [florian] on irc.freenode.net
-------------------------------


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux