Skip to content

Commit

Permalink
HID: asus: 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>
Link: https://lore.kernel.org/r/20230215-power_supply-leds-hid-v1-3-35b6f1dcee8a@weissschuh.net
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
t-8ch authored and xanmod committed May 24, 2023
1 parent a34104a commit 4b58fdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hid/hid-asus.c
Expand Up @@ -30,6 +30,7 @@
#include <linux/input/mt.h>
#include <linux/usb.h> /* For to_usb_interface for T100 touchpad intf check */
#include <linux/power_supply.h>
#include <linux/leds.h>

#include "hid-ids.h"

Expand Down

0 comments on commit 4b58fdd

Please sign in to comment.