On 2/23/2024 9:56 PM, Pavel Machek wrote:
-#include <linux/gpio/consumer.h> +#include <linux/types.h> + +struct gpio_desc;If include tweak means you need to declare struct, is it ian improvement?
In this case I'd say yes, the header in question has numerous other declarations (which are not used in leds-expresswire.h) and itself declares gpio_desc like this anyway.
Regards, -- Duje