Re: [PATCH -next] wl12xx: fix sdio_test kconfig/build errors
From: John W. Linville
Date: Mon Feb 21 2011 - 15:30:45 EST
Luca, I'm merging this one...
On Fri, Feb 18, 2011 at 05:25:36PM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>
> The wl12xx sdio_test code uses wl12xx_get_platform_data, which is
> only present when WL12*_SDIO is enabled, so make WL12XX_SDIO_TEST
> depend on WL12XX_SDIO so that the needed interface will be present.
>
> sdio_test.c:(.devinit.text+0x13178): undefined reference to `wl12xx_get_platform_data'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> Cc: Luciano Coelho <luciano.coelho@xxxxxxxxx>
> Cc: Roger Quadros <roger.quadros@xxxxxxxxx>
> ---
> drivers/net/wireless/wl12xx/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20110217.orig/drivers/net/wireless/wl12xx/Kconfig
> +++ linux-next-20110217/drivers/net/wireless/wl12xx/Kconfig
> @@ -54,7 +54,7 @@ config WL12XX_SDIO
>
> config WL12XX_SDIO_TEST
> tristate "TI wl12xx SDIO testing support"
> - depends on WL12XX && MMC
> + depends on WL12XX && MMC && WL12XX_SDIO
> default n
> ---help---
> This module adds support for the SDIO bus testing with the
>
--
John W. Linville Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx might be all we have. Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/