diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-07-22 16:17:41 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-23 17:41:12 +0200 |
commit | 1bd6b601fe196b6fbce2c93536ce0f3f53577cec (patch) | |
tree | 5e20cf3705cbb6f311a4b26795cbd7e4c8a14f11 /include/linux/gpio/driver.h | |
parent | 14141a9352d007434ff61df1e16a2bcaf3119307 (diff) | |
download | linux-stable-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.gz linux-stable-1bd6b601fe196b6fbce2c93536ce0f3f53577cec.tar.bz2 linux-stable-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/driver.h')
-rw-r--r-- | include/linux/gpio/driver.h | 3 |
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), |