gpio: Rework of_gpiochip_set_names() to use device property accessors
[muen/linux.git] / drivers / gpio / gpiolib.h
index 346fbda3922041add07bf0aa9f62b32e0baea00d..d10eaf52086090d070b9d6c3f109e57aebf0377f 100644 (file)
@@ -209,6 +209,8 @@ static int __maybe_unused gpio_chip_hwgpio(const struct gpio_desc *desc)
        return desc - &desc->gdev->descs[0];
 }
 
+void devprop_gpiochip_set_names(struct gpio_chip *chip);
+
 /* With descriptor prefix */
 
 #define gpiod_emerg(desc, fmt, ...)                                           \