Commit 7774f3d1 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Lee Jones

leds: expresswire: Don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarDuje Mihanović <duje.mihanovic@skole.hr>
Link: https://lore.kernel.org/r/20240223203010.881065-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent d48ece99
...@@ -5,8 +5,12 @@ ...@@ -5,8 +5,12 @@
* ktd2692 and ktd2801 are known to use this protocol. * ktd2692 and ktd2801 are known to use this protocol.
*/ */
#include <linux/bits.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/export.h>
#include <linux/gpio/consumer.h> #include <linux/gpio/consumer.h>
#include <linux/types.h>
#include <linux/leds-expresswire.h> #include <linux/leds-expresswire.h>
void expresswire_power_off(struct expresswire_common_props *props) void expresswire_power_off(struct expresswire_common_props *props)
......
...@@ -8,7 +8,9 @@ ...@@ -8,7 +8,9 @@
#ifndef _LEDS_EXPRESSWIRE_H #ifndef _LEDS_EXPRESSWIRE_H
#define _LEDS_EXPRESSWIRE_H #define _LEDS_EXPRESSWIRE_H
#include <linux/gpio/consumer.h> #include <linux/types.h>
struct gpio_desc;
struct expresswire_timing { struct expresswire_timing {
unsigned long poweroff_us; unsigned long poweroff_us;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment