1
linux/drivers/ssb
Geert Uytterhoeven 3194f2f045 ssb: SSB_DRIVER_GPIO should depend on GPIOLIB instead of selecting it
Commit ec43b08b57 ("ssb: add GPIO driver")
added SSB_DRIVER_GPIO, which unconditionally selects GPIOLIB, causing
a Kconfig warning:

warning: (ARCH_REQUIRE_GPIOLIB && SSB_DRIVER_GPIO && BCMA_DRIVER_GPIO && MFD_TC6393XB && FB_VIA) selects GPIOLIB which has unmet direct dependencies (ARCH_WANT_OPTIONAL_GPIOLIB || ARCH_REQUIRE_GPIOLIB)

and build failure for m68k/allmodconfig:

In file included from drivers/ssb/ssb_private.h:5,
                 from drivers/ssb/main.c:12:
include/linux/ssb/ssb.h:440: error: field ‘gpio’ has incomplete type
make[4]: *** [drivers/ssb/main.o] Error 1
make[3]: *** [drivers/ssb/] Error 2

Turn the select into a dependency to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-01-02 14:38:23 -05:00
..
b43_pci_bridge.c ssb: add PCI ID 0x4350 2012-10-29 15:30:36 -04:00
driver_chipcommon_pmu.c ssb: get alp clock from devices with PMU 2012-12-06 14:58:57 -05:00
driver_chipcommon.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-12-14 14:27:45 -08:00
driver_extif.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-12-14 14:27:45 -08:00
driver_gige.c
driver_gpio.c ssb: add GPIO driver 2012-11-21 21:55:52 +01:00
driver_mipscore.c ssb: extif: fix compile errors 2012-11-30 13:38:14 -05:00
driver_pcicore.c
embedded.c ssb: register watchdog driver 2012-12-06 14:58:58 -05:00
Kconfig ssb: SSB_DRIVER_GPIO should depend on GPIOLIB instead of selecting it 2013-01-02 14:38:23 -05:00
main.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-12-14 14:27:45 -08:00
Makefile ssb: add GPIO driver 2012-11-21 21:55:52 +01:00
pci.c bcma/ssb: parse new attributes from sprom 2012-05-16 12:45:22 -04:00
pcihost_wrapper.c
pcmcia.c
scan.c ssb: recognize ARM Cortex M3 2012-06-06 15:20:22 -04:00
sdio.c
sprom.c
ssb_private.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-12-14 14:27:45 -08:00