[PATCH] Staging: VME: PIO2: Add GPIOLIB dependancy

Randy Dunlap rdunlap at xenotime.net
Mon Dec 12 18:34:29 UTC 2011


On 12/12/2011 09:04 AM, Martyn Welch wrote:
> The PIO2 driver errors when GPIOLIB, on which it depends, is not enabled.
> 
> Add dependancy when selecting the PIO2.
> 
> Reported-by: Randy Dunlap <rdunlap at xenotime.net>
> Signed-off-by: Martyn Welch <martyn.welch at ge.com>

Acked-by: Randy Dunlap <rdunlap at xenotime.net>

Thanks.

> ---
> 
> Sorry, missed the email on the 6th.
> 
>  drivers/staging/vme/devices/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/staging/vme/devices/Kconfig b/drivers/staging/vme/devices/Kconfig
> index 8f5d286..55ec30c 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
> 
> 
> --
> Martyn Welch (Principal Software Engineer)   |   Registered in England and
> GE Intelligent Platforms                     |   Wales (3828642) at 100
> T +44(0)127322748                            |   Barbirolli Square, Manchester,
> E martyn.welch at ge.com                        |   M2 3AB  VAT:GB 927559189


-- 
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***



More information about the devel mailing list