Re: [PATCH] fix build error of driver/mfd/tc6393xb.c

From: Dmitry Baryshkov
Date: Fri Jul 04 2008 - 07:48:21 EST


On Fri, Jul 04, 2008 at 01:20:42PM +0200, Takashi Iwai wrote:
> Fix the build of tc6393xb due to missing definition of struct
> gpio_chip.
>
> Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
>
> ---
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 9f93c29..2981da4 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -44,7 +44,7 @@ config HTC_PASIC3
>
> config MFD_TC6393XB
> bool "Support Toshiba TC6393XB"
> - depends on HAVE_GPIO_LIB
> + depends on HAVE_GPIO_LIB && GENERIC_GPIO
> select MFD_CORE
> help
> Support for Toshiba Mobile IO Controller TC6393XB

Which configuration does provide HAVE_GPIO_LIB but not GENERIC_GPIO?

--
With best wishes
Dmitry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/