public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO
@ 2011-10-11 21:11 Heiko Stübner
  2011-10-11 21:55 ` Randy Dunlap
  2011-10-12 10:14 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Stübner @ 2011-10-11 21:11 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: LKML, Randy Dunlap, Heiko Stübner

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO
  2011-10-11 21:11 [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO Heiko Stübner
@ 2011-10-11 21:55 ` Randy Dunlap
  2011-10-12 10:14 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2011-10-11 21:55 UTC (permalink / raw)
  To: Heiko Stübner; +Cc: Mark Brown, Liam Girdwood, LKML

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO
  2011-10-11 21:11 [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO Heiko Stübner
  2011-10-11 21:55 ` Randy Dunlap
@ 2011-10-12 10:14 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-10-12 10:14 UTC (permalink / raw)
  To: Heiko Stübner; +Cc: Liam Girdwood, LKML, Randy Dunlap

On Tue, Oct 11, 2011 at 11:11:01PM +0200, Heiko Stübner wrote:
> Without GENERIC_GPIO "struct gpio" is undefined leading to errors.

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-12 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11 21:11 [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO Heiko Stübner
2011-10-11 21:55 ` Randy Dunlap
2011-10-12 10:14 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox