public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: "Heiko Stübner" <heiko@sntech.de>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Liam Girdwood <lrg@ti.com>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO
Date: Tue, 11 Oct 2011 14:55:07 -0700	[thread overview]
Message-ID: <4E94BB3B.9030508@xenotime.net> (raw)
In-Reply-To: <201110112311.02195.heiko@sntech.de>

On 10/11/11 14:11, Heiko Stübner wrote:
> Without GENERIC_GPIO "struct gpio" is undefined leading to errors.
> 
> Reported-by: Randy Dunlap <rdunlap@xenotime.net>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

Works for me.  Thanks.

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


> ---
>  drivers/regulator/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
> index 5e0c7b6..9713b1b 100644
> --- a/drivers/regulator/Kconfig
> +++ b/drivers/regulator/Kconfig
> @@ -66,6 +66,7 @@ config REGULATOR_USERSPACE_CONSUMER
>  
>  config REGULATOR_GPIO
>  	tristate "GPIO regulator support"
> +	depends on GENERIC_GPIO
>  	help
>  	  This driver provides support for regulators that can be
>  	  controlled via gpios.


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

  reply	other threads:[~2011-10-11 21:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11 21:11 [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO Heiko Stübner
2011-10-11 21:55 ` Randy Dunlap [this message]
2011-10-12 10:14 ` Mark Brown

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=4E94BB3B.9030508@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=heiko@sntech.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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