From: Martyn Welch Date: Mon, 12 Dec 2011 17:04:06 +0000 (+0000) Subject: Staging: VME: PIO2: Add GPIOLIB dependancy X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=16772a495ab4ee2f99b3f0094907b00d263620de;p=deliverable%2Flinux.git Staging: VME: PIO2: Add GPIOLIB dependancy The PIO2 driver errors when GPIOLIB, on which it depends, is not enabled. Add dependancy when selecting the PIO2. Reported-by: Randy Dunlap Signed-off-by: Martyn Welch Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vme/devices/Kconfig b/drivers/staging/vme/devices/Kconfig index 8f5d286071d1..55ec30cb1fa2 100644 --- a/drivers/staging/vme/devices/Kconfig +++ b/drivers/staging/vme/devices/Kconfig @@ -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