From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753669Ab1LLRep (ORCPT ); Mon, 12 Dec 2011 12:34:45 -0500 Received: from oproxy8-pub.bluehost.com ([69.89.22.20]:43374 "HELO oproxy8-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751310Ab1LLRem (ORCPT ); Mon, 12 Dec 2011 12:34:42 -0500 Message-ID: <4EE64935.2000608@xenotime.net> Date: Mon, 12 Dec 2011 10:34:29 -0800 From: Randy Dunlap Organization: YPO4 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Martyn Welch CC: gregkh@suse.de, devel@driverdev.osuosl.org, sfr@canb.auug.org.au, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: VME: PIO2: Add GPIOLIB dependancy References: <4EE638EA.6010909@xenotime.net> <20111212170301.26724.40502.stgit@ES-BJ21R4J> In-Reply-To: <20111212170301.26724.40502.stgit@ES-BJ21R4J> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Signed-off-by: Martyn Welch Acked-by: Randy Dunlap 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@ge.com | M2 3AB VAT:GB 927559189 -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***