Re: [PATCH] gpio: introduce a header for symbols shared by suppliers and consumers
From: Bartosz Golaszewski
Date: Fri Feb 27 2026 - 04:01:09 EST
On Mon, 23 Feb 2026 18:20:06 +0100, Bartosz Golaszewski wrote:
> GPIO_LINE_DIRECTION_IN/OUT definitions are used both in supplier (GPIO
> controller drivers) as well as consumer code. In order to not force the
> consumers to include gpio/driver.h or - even worse - to redefine these
> values, create a new header file - gpio/defs.h - and move them over
> there. Include this header from both gpio/consumer.h and gpio/driver.h.
>
>
> [...]
Applied, thanks!
[1/1] gpio: introduce a header for symbols shared by suppliers and consumers
https://git.kernel.org/brgl/c/fa4a3a95139e7293c1333a33bd7b19e7261e3bd0
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>