From: Christian Dietrich Date: Thu, 31 May 2012 11:12:57 +0000 (+0200) Subject: gpio/msm_v1: CONFIG_GPIO_MSM_V1 is only available on three SoCs X-Git-Tag: v3.5-rc7~34^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afcc0f8c174ff34305146878c40e7dcc72fcbbdf;p=pandora-kernel.git gpio/msm_v1: CONFIG_GPIO_MSM_V1 is only available on three SoCs 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed