diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-03 16:12:47 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-01-30 11:03:35 +0300 |
commit | 156a5bb89ca6f3edd2be0bfd0de15e575442927e (patch) | |
tree | 996240383d6867a0a87c3f2649d124589c192feb /include/linux/leds.h | |
parent | d35d0c9de762e003129dfc1240df7152a4bc31e8 (diff) | |
download | linux-156a5bb89ca6f3edd2be0bfd0de15e575442927e.tar.xz |
leds: Move led_init_default_state_get() to the global header
There are users inside and outside LED framework that have implemented
a local copy of led_init_default_state_get(). In order to deduplicate
that, as the first step move the declaration from LED header to the
global one.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230103131256.33894-3-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 4df46a85e5c2..d71201a968b6 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h @@ -82,6 +82,8 @@ struct led_init_data { bool devname_mandatory; }; +enum led_default_state led_init_default_state_get(struct fwnode_handle *fwnode); + struct led_hw_trigger_type { int dummy; }; |