summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-12-14 20:40:11 +0200
committerLee Jones <lee@kernel.org>2023-12-21 14:42:59 +0000
commit808c7881876756dfcd8c4d0c3efc27c9262da822 (patch)
tree981be7f84576bea0f5eb680d261b98d85a04dde4 /drivers/leds
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231214184050.1272848-5-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds')
-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 <patrick.rudolph@9elements.com>
*/
+#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>