Re: [PATCH v2 1/1] leds: expresswire: Don't use "proxy" headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux