summaryrefslogtreecommitdiff
path: root/drivers/gpio/devres.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-08 03:56:09 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-07-05 16:49:13 +0400
commit3996bfc787a3b3d7c7ad97b7519247f9f2ac4068 (patch)
treeb4368547bcdd71d1b0566358e7f46bc1b325ef64 /drivers/gpio/devres.c
parent8cd578b6e28693f357867a77598a88ef3deb6b39 (diff)
downloadlinux-3996bfc787a3b3d7c7ad97b7519247f9f2ac4068.tar.xz
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