Skip to content

Commit

Permalink
power: supply: leds: explicitly include linux/leds.h
Browse files Browse the repository at this point in the history
Instead of relying on an accidental, transitive inclusion of linux/leds.h
use it directly.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
  • Loading branch information
Thomas Weißschuh authored and Sebastian Reichel committed Feb 15, 2023
1 parent b2b911a commit 9de10a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/power/supply/power_supply_leds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 9de10a5

Please sign in to comment.