leds: expresswire: Don't use "proxy" headers
Subsystems (2)
PATCH 1/1 leds: expresswire: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/leds/leds-expresswire.c | 3 +++ include/linux/leds-expresswire.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/leds/leds-expresswire.c +3 -0
@@ -6,7 +6,10 @@*/ #include <linux/delay.h> +#include <linux/export.h> #include <linux/gpio/consumer.h> +#include <linux/types.h> +#include <linux/leds-expresswire.h> void expresswire_power_off (struct expresswire_common_props *props)
include/linux/leds-expresswire.h +3 -1
@@ -8,7 +8,9 @@ #ifndef _LEDS_EXPRESSWIRE_H #define _LEDS_EXPRESSWIRE_H -#include <linux/gpio/consumer.h> +#include <linux/types.h> + +struct gpio_desc; struct expresswire_timing { unsigned long poweroff_us;
Signature · 1 line
2.43.0.rc1.1.gbec44491f096