summaryrefslogtreecommitdiff
path: root/drivers/gpio/devres.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2013-10-20 15:14:58 -0700
committerLinus Walleij <linus.walleij@linaro.org>2013-10-29 18:26:14 -0700
commit3c2c628f82a2c48c0d684dbf63b6a4765e784444 (patch)
treecfd80f16d07cfa793768d17918a121145aac1ffe /drivers/gpio/devres.c
parentb69ac52449c658b7ac40034dc3c5f5f4a71a723d (diff)
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>