Message ID | 20230901112926.13216-2-brgl@bgdev.pl |
---|---|
State | New |
Headers | show |
Series | pinctrl: da9062: don't pull in internal GPIOLIB headers | expand |
On Fri, Sep 1, 2023 at 1:29 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote: > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > gpiod_is_active_low() is defined in linux/gpio/consumer.h. It's only > because we're pulling in the gpiolib.h private header that we get this > declaration implicitly but let's fix it as that is going away soon. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> For allt three patches. Just apply them to the GPIO tree, that's easiest! Yours, Linus Walleij
On Tue, Sep 12, 2023 at 9:30 AM Linus Walleij <linus.walleij@linaro.org> wrote: > > On Fri, Sep 1, 2023 at 1:29 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote: > > > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > > > gpiod_is_active_low() is defined in linux/gpio/consumer.h. It's only > > because we're pulling in the gpiolib.h private header that we get this > > declaration implicitly but let's fix it as that is going away soon. > > > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> > > Acked-by: Linus Walleij <linus.walleij@linaro.org> > For allt three patches. > Just apply them to the GPIO tree, that's easiest! > > Yours, > Linus Walleij Ok, queued, thanks! Bart
diff --git a/drivers/pinctrl/pinctrl-da9062.c b/drivers/pinctrl/pinctrl-da9062.c index 0e0ac3f3ffef..9239b9cd9002 100644 --- a/drivers/pinctrl/pinctrl-da9062.c +++ b/drivers/pinctrl/pinctrl-da9062.c @@ -17,6 +17,7 @@ #include <linux/property.h> #include <linux/regmap.h> +#include <linux/gpio/consumer.h> #include <linux/gpio/driver.h> #include <linux/mfd/da9062/core.h>