[PATCH v1 4/4] leds: max5970: Add missing headers
From: Andy Shevchenko
Date: Thu Dec 14 2023 - 13:41:31 EST
Don't inherit headers "by chance" from others.
Include the needed ones explicitly.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/leds/leds-max5970.c | 4 ++++
1 file changed, 4 insertions(+)
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 <patrick.rudolph@xxxxxxxxxxxxx>
*/
+#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>
--
2.43.0.rc1.1.gbec44491f096