lkml.org 
[lkml]   [2011]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: gpio-regulator add dependency on GENERIC_GPIO
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 ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-10-11 23:57    [W:0.039 / U:30.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site