summaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorAlexandre Courbot2014-07-22 09:17:41 +0200
committerLinus Walleij2014-07-23 17:41:12 +0200
commit1bd6b601fe196b6fbce2c93536ce0f3f53577cec (patch)
tree5e20cf3705cbb6f311a4b26795cbd7e4c8a14f11 /include/linux/gpio
parentgpio: simplify gpiochip_export() (diff)
downloadkernel-qcow2-linux-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.gz
kernel-qcow2-linux-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.xz
kernel-qcow2-linux-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.zip
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 'include/linux/gpio')
-rw-r--r--include/linux/gpio/driver.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index ca3024554a2d..88f92dfae545 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -151,9 +151,6 @@ void gpiod_unlock_as_irq(struct gpio_desc *desc);
struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc);
-struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip,
- u16 hwnum);
-
enum gpio_lookup_flags {
GPIO_ACTIVE_HIGH = (0 << 0),
GPIO_ACTIVE_LOW = (1 << 0),