summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-07-22 16:17:41 +0900
committerLinus Walleij <linus.walleij@linaro.org>2014-07-23 17:41:12 +0200
commit1bd6b601fe196b6fbce2c93536ce0f3f53577cec (patch)
tree5e20cf3705cbb6f311a4b26795cbd7e4c8a14f11 /drivers/gpio/gpiolib.c
parent14141a9352d007434ff61df1e16a2bcaf3119307 (diff)
downloadlinux-0-day-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.gz
linux-0-day-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.xz
gpio: make gpiochip_get_desc() gpiolib-private
As GPIO descriptors are not going to remain unique anymore, having this function public is not safe. Restrain its use to gpiolib since we have no user outside of it. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index c5509359ba885..38d176e31379e 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -82,7 +82,6 @@ struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip,
return &chip->desc[hwnum];
}
-EXPORT_SYMBOL_GPL(gpiochip_get_desc);
/**
* Convert a GPIO descriptor to the integer namespace.