lkml.org 
[lkml]   [2023]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] power: supply: leds: explicitly include linux/leds.h
Hi,

On Wed, Feb 15, 2023 at 01:12:55AM +0000, Thomas Weißschuh wrote:
> Instead of relying on an accidental, transitive inclusion of linux/leds.h
> use it directly.
>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---

Thanks, queued.

-- Sebastian

> drivers/power/supply/power_supply_leds.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/power/supply/power_supply_leds.c b/drivers/power/supply/power_supply_leds.c
> index d69880cc3593..702bf83f6e6d 100644
> --- a/drivers/power/supply/power_supply_leds.c
> +++ b/drivers/power/supply/power_supply_leds.c
> @@ -13,6 +13,7 @@
> #include <linux/device.h>
> #include <linux/power_supply.h>
> #include <linux/slab.h>
> +#include <linux/leds.h>
>
> #include "power_supply.h"
>
>
> ---
> base-commit: e1c04510f521e853019afeca2a5991a5ef8d6a5b
> change-id: 20230215-power_supply-leds-pm-b32236dfb4df
>
> Best regards,
> --
> Thomas Weißschuh <linux@weissschuh.net>
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-03-27 00:24    [W:0.028 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site