summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-11-24 22:30:00 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-11-24 22:30:00 +0300
commit68e3b071b88d2712b3d8b6bfcfbcd0635653d5a5 (patch)
tree92976c72b346ef4db142c3cb92d4ea3d8a2e37d0 /include/linux
parentd652049e118ffe9227155f7b9b85faf15fc91f8f (diff)
parentd1f7728259ef02ac20b7afb6e7eb5a9eb1696c25 (diff)
downloadlinux-68e3b071b88d2712b3d8b6bfcfbcd0635653d5a5.tar.xz
Merge branch 'gpio/device_get_label_for_pinctrl' into gpio/for-next
Pull in the immutable branch between GPIO and pinctrl adding a new getter allowing to retrieve the label of a GPIO device.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio/driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index 0aed62f0c633..100c329dc986 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -786,6 +786,7 @@ struct gpio_device *gpiod_to_gpio_device(struct gpio_desc *desc);
/* struct gpio_device getters */
int gpio_device_get_base(struct gpio_device *gdev);
+const char *gpio_device_get_label(struct gpio_device *gdev);
#else /* CONFIG_GPIOLIB */