projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7baa5b
)
leds: max5970: Add missing headers
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Thu, 14 Dec 2023 18:40:11 +0000
(20:40 +0200)
committer
Lee Jones
<lee@kernel.org>
Thu, 21 Dec 2023 14:42:59 +0000
(14:42 +0000)
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>
drivers/leds/leds-max5970.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-max5970.c
b/drivers/leds/leds-max5970.c
index 60db3c28d7d97082734a3b6a6c51c82684413879..56a584311581af843d45d7941656e48f65426eb3 100644
(file)
--- 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>