aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.h
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-06-25 07:38:15 +0000
committerBartosz Golaszewski <[email protected]>2024-07-02 09:40:37 +0000
commit6f2a875024993449f1b19a144d3e4391411a1b51 (patch)
treea07fd6c4d0365a334d031061a58e9191fa5cc6ef /drivers/gpio/gpiolib.h
parentgpio: add sloppy logic analyzer using polling (diff)
downloadkernel-6f2a875024993449f1b19a144d3e4391411a1b51.tar.gz
kernel-6f2a875024993449f1b19a144d3e4391411a1b51.zip
gpiolib: unexport gpiochip_get_desc()
This function has been deprecated for some time and is now only used within the GPIOLIB core. Remove it from the public header and unexport it as all current users are linked against the compilation unit where it is defined. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r--drivers/gpio/gpiolib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h
index a75635891c6f..4de0bf1a62d3 100644
--- a/drivers/gpio/gpiolib.h
+++ b/drivers/gpio/gpiolib.h
@@ -243,6 +243,7 @@ int gpio_set_debounce_timeout(struct gpio_desc *desc, unsigned int debounce);
int gpiod_hog(struct gpio_desc *desc, const char *name,
unsigned long lflags, enum gpiod_flags dflags);
int gpiochip_get_ngpios(struct gpio_chip *gc, struct device *dev);
+struct gpio_desc *gpiochip_get_desc(struct gpio_chip *gc, unsigned int hwnum);
const char *gpiod_get_label(struct gpio_desc *desc);
/*