aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-12-14 20:40:11 +0200
committerLee Jones <[email protected]>2023-12-21 14:42:59 +0000
commit808c7881876756dfcd8c4d0c3efc27c9262da822 (patch)
tree981be7f84576bea0f5eb680d261b98d85a04dde4
parente7baa5b437a782308b86c1517ae252fd1353eb0b (diff)
leds: max5970: Add missing headers
Don't inherit headers "by chance" from others. Include the needed ones explicitly. Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--drivers/leds/leds-max5970.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/leds/leds-max5970.c b/drivers/leds/leds-max5970.c
index 60db3c28d7d9..56a584311581 100644
--- a/drivers/leds/leds-max5970.c
+++ b/drivers/leds/leds-max5970.c
@@ -7,9 +7,13 @@
* Author: Patrick Rudolph <[email protected]>
*/
+#include <linux/bits.h>
+#include <linux/container_of.h>
+#include <linux/device.h>
#include <linux/leds.h>
#include <linux/mfd/max5970.h>
#include <linux/mod_devicetable.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/regmap.h>