Staging: VME: PIO2: Add GPIOLIB dependancy
authorMartyn Welch <martyn.welch@ge.com>
Mon, 12 Dec 2011 17:04:06 +0000 (17:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 13 Dec 2011 00:36:03 +0000 (16:36 -0800)
The PIO2 driver errors when GPIOLIB, on which it depends, is not enabled.

Add dependancy when selecting the PIO2.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/devices/Kconfig

index 8f5d286..55ec30c 100644 (file)
@@ -9,6 +9,7 @@ config VME_USER
 
 config VME_PIO2
        tristate "GE PIO2 VME"
+       depends on GPIOLIB
        help
          Say Y here to include support for the GE PIO2. The PIO2 is a 6U VME
          slave card, implementing 32 solid-state relay switched IO lines, in