summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/devres.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-10-21 00:14:58 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-10-30 02:26:14 +0100
commit3c2c628f82a2c48c0d684dbf63b6a4765e784444 (patch)
treecfd80f16d07cfa793768d17918a121145aac1ffe /drivers/gpio/devres.c
parentgpiolib: make GPIO_DEVRES depend on GPIOLIB (diff)
downloadlinux-3c2c628f82a2c48c0d684dbf63b6a4765e784444.tar.xz
linux-3c2c628f82a2c48c0d684dbf63b6a4765e784444.zip
gpiolib: devres: add missing headers
Add missing headers for drivers/gpiolib/devres.c. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/devres.c')
-rw-r--r--drivers/gpio/devres.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c
index fceebdc9e152..307464fd015f 100644
--- a/drivers/gpio/devres.c
+++ b/drivers/gpio/devres.c
@@ -15,7 +15,9 @@
*/
#include <linux/module.h>
+#include <linux/err.h>
#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/device.h>
#include <linux/gfp.h>