wl12xx: fix sdio_test kconfig/build errors
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 19 Feb 2011 01:25:36 +0000 (17:25 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Feb 2011 20:39:56 +0000 (15:39 -0500)
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@oracle.com>
Cc: Luciano Coelho <luciano.coelho@nokia.com>
Cc: Roger Quadros <roger.quadros@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/Kconfig

index 0e65bce..692ebff 100644 (file)
@@ -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