Re: [PATCH] gpio/msm_v1: CONFIG_GPIO_MSM_V1 is only available onthree SoCs

From: Linus Walleij
Date: Thu May 31 2012 - 21:43:36 EST


On Thu, May 31, 2012 at 7:12 PM, Christian Dietrich
<christian.dietrich@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> The feature GPIO_MSM_V1 is only available on three SoCs. On all other MSM SoCs
> the INT_GPIO_GROUP{1,2} is undeclared, but Kconfig does allow such
> configurations. Therefore the produced configuration is valid, but does not
> compile. The problem is fixed by adding the missing Kconfig constraints.
>
> drivers/gpio/gpio-msm-v1.c: In function â  msm_init_gpioâ  :
> drivers/gpio/gpio-msm-v1.c:629:26: error: 'INT_GPIO_GROUP1' undeclared
> drivers/gpio/gpio-msm-v1.c:630:26: error: 'INT_GPIO_GROUP2' undeclared
>
> Signed-off-by: Christian Dietrich <christian.dietrich@xxxxxxxxxxxxxxxxxxxxxxxxxx>

I've run into this bug when trying (and failing) to build a mainline kernel
for the DragonBoard.

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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/