aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/omap-usb-tll.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>2013-07-02 21:46:30 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-07-20 18:57:28 +0200
commit949eb1a4d29dc75e0b5b16b03747886b52ecf854 (patch)
tree2fd7925d5265058c7d3df1fce3b3a60a44d995a6 /drivers/mfd/omap-usb-tll.c
parentb4419e1a15905191661ffe75ba2f9e649f5d565e (diff)
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/mfd/omap-usb-tll.c')
0 files changed, 0 insertions, 0 deletions