public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Martyn Welch <martyn.welch@ge•com>
To: rdunlap@xenotime•net, gregkh@suse•de
Cc: devel@driverdev•osuosl.org, sfr@canb•auug.org.au,
	linux-next@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: [PATCH] Staging: VME: PIO2: Add GPIOLIB dependancy
Date: Mon, 12 Dec 2011 17:04:06 +0000	[thread overview]
Message-ID: <20111212170301.26724.40502.stgit@ES-BJ21R4J> (raw)
In-Reply-To: <4EE638EA.6010909@xenotime.net>

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>
---

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@ge•com                        |   M2 3AB  VAT:GB 927559189

  reply	other threads:[~2011-12-12 17:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06  4:44 linux-next: Tree for Dec 6 Stephen Rothwell
2011-12-06 20:44 ` linux-next: Tree for Dec 6 (x86, not SMP) Randy Dunlap
2011-12-06 19:53   ` Ingo Molnar
2011-12-06 20:58 ` linux-next: Tree for Dec 6 (staging/vme) Randy Dunlap
2011-12-12 17:24   ` Randy Dunlap
2011-12-12 17:04     ` Martyn Welch [this message]
2011-12-12 18:34       ` [PATCH] Staging: VME: PIO2: Add GPIOLIB dependancy Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111212170301.26724.40502.stgit@ES-BJ21R4J \
    --to=martyn.welch@ge$(echo .)com \
    --cc=devel@driverdev$(echo .)osuosl.org \
    --cc=gregkh@suse$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=rdunlap@xenotime$(echo .)net \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox