summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAlexandre Courbot2013-10-21 00:14:58 +0200
committerLinus Walleij2013-10-30 02:26:14 +0100
commit3c2c628f82a2c48c0d684dbf63b6a4765e784444 (patch)
treecfd80f16d07cfa793768d17918a121145aac1ffe /drivers/gpio
parentgpiolib: make GPIO_DEVRES depend on GPIOLIB (diff)
downloadkernel-qcow2-linux-3c2c628f82a2c48c0d684dbf63b6a4765e784444.tar.gz
kernel-qcow2-linux-3c2c628f82a2c48c0d684dbf63b6a4765e784444.tar.xz
kernel-qcow2-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')
-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>