summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-msm-v2.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2013-07-02 21:46:30 +0200
committerLinus Walleij2013-07-20 18:57:28 +0200
commit949eb1a4d29dc75e0b5b16b03747886b52ecf854 (patch)
tree2fd7925d5265058c7d3df1fce3b3a60a44d995a6 /drivers/gpio/gpio-msm-v2.c
parentgpio/omap: auto request GPIO as input if used as IRQ via DT (diff)
downloadkernel-qcow2-linux-949eb1a4d29dc75e0b5b16b03747886b52ecf854.tar.gz
kernel-qcow2-linux-949eb1a4d29dc75e0b5b16b03747886b52ecf854.tar.xz
kernel-qcow2-linux-949eb1a4d29dc75e0b5b16b03747886b52ecf854.zip
gpio/omap: fix build error when OF_GPIO is not defined.
The OMAP GPIO driver check if the chip has an associated Device Tree node using the struct gpio_chip of_node member. But this is only build if CONFIG_OF_GPIO is defined which leads to the following error when using omap1_defconfig: linux/drivers/gpio/gpio-omap.c: In function 'omap_gpio_chip_init': linux/drivers/gpio/gpio-omap.c:1080:17: error: 'struct gpio_chip' has no member named 'of_node' linux/drivers/gpio/gpio-omap.c: In function 'omap_gpio_irq_map': linux/drivers/gpio/gpio-omap.c:1116:16: error: 'struct gpio_chip' has no member named 'of_node' Reported-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-msm-v2.c')
0 files changed, 0 insertions, 0 deletions