aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-07-11 14:28:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-11 14:28:15 -0400
commite6f0f4546a2027fc6bdb9223e5f3fde431587f5d (patch)
tree83929ae7a56a61a3b57ea6f7bb91a013973d6823 /drivers
parent43224b739b0b80d198e44fce7b40e2bc0e357c4e (diff)
parentbb39b6551e4bff392427d6ce8692dd576a388f19 (diff)
Merge tag 'fixes-for-v3.5-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio
Pull a late GPIO fix from Linus Walleij: "Grr! So typically -next washed out a bug in the bug fixes. This v2 of the pull request fixes another OF/DT related issue caused by fixing another OF/DT related issue, courtesy of Gerard Sintselaar. So please pull the v2. Or pull it on top of the other one, whatever. Sorry for the panic mode, I'm in the middle of the Swedish woods, supposedly on vacation." * tag 'fixes-for-v3.5-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: gpio/gpio-tps65910: gpio_chip.of_node referenced without CONFIG_OF_GPIO defined
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-tps65910.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index 0749f9630869..11f29c82253c 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -149,7 +149,9 @@ static int __devinit tps65910_gpio_probe(struct platform_device *pdev)
149 tps65910_gpio->gpio_chip.set = tps65910_gpio_set; 149 tps65910_gpio->gpio_chip.set = tps65910_gpio_set;
150 tps65910_gpio->gpio_chip.get = tps65910_gpio_get; 150 tps65910_gpio->gpio_chip.get = tps65910_gpio_get;
151 tps65910_gpio->gpio_chip.dev = &pdev->dev; 151 tps65910_gpio->gpio_chip.dev = &pdev->dev;
152#ifdef CONFIG_OF_GPIO
152 tps65910_gpio->gpio_chip.of_node = tps65910->dev->of_node; 153 tps65910_gpio->gpio_chip.of_node = tps65910->dev->of_node;
154#endif
153 if (pdata && pdata->gpio_base) 155 if (pdata && pdata->gpio_base)
154 tps65910_gpio->gpio_chip.base = pdata->gpio_base; 156 tps65910_gpio->gpio_chip.base = pdata->gpio_base;
155 else 157 else