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