summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/devres.c
diff options
context:
space:
mode:
authorStephen Warren2012-06-08 01:56:09 +0200
committerLinus Walleij2012-07-05 14:49:13 +0200
commit3996bfc787a3b3d7c7ad97b7519247f9f2ac4068 (patch)
treeb4368547bcdd71d1b0566358e7f46bc1b325ef64 /drivers/gpio/devres.c
parentgpiolib: wm8994: Pay attention to the value set when enabling as output (diff)
downloadkernel-qcow2-linux-3996bfc787a3b3d7c7ad97b7519247f9f2ac4068.tar.gz
kernel-qcow2-linux-3996bfc787a3b3d7c7ad97b7519247f9f2ac4068.tar.xz
kernel-qcow2-linux-3996bfc787a3b3d7c7ad97b7519247f9f2ac4068.zip
gpio: export devm_gpio_request_one
Without this, modules can't use this API, leading to build failures. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/devres.c')
-rw-r--r--drivers/gpio/devres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/devres.c b/drivers/gpio/devres.c
index 9e9947cb86a3..1077754f8289 100644
--- a/drivers/gpio/devres.c
+++ b/drivers/gpio/devres.c
@@ -98,6 +98,7 @@ int devm_gpio_request_one(struct device *dev, unsigned gpio,
return 0;
}
+EXPORT_SYMBOL(devm_gpio_request_one);
/**
* devm_gpio_free - free an interrupt