Skip to contentSkip to conversation

leds: lm36274: Add missed property.h

PATCH Applied Andy Shevchenko 2 participants 2 messages May 30, 2021 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: lm36274: Add missed property.h

It appears that property.h has been included in some configurations implicitly, but in some it's not and hence build may fail. Add missed property.h explicitly.

Fixes e2e8e4e81875 ("leds: lm36274: Correct headers (of*.h -> mod_devicetable.h)")
---
 drivers/leds/leds-lm36274.c | 1 +
 1 file changed, 1 insertion(+)
drivers/leds/leds-lm36274.c +1 -0
index 90dc5cbebed4..e009b6d17915 100644
@@ -10,6 +10,7 @@
 #include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/property.h>
 
 #include <linux/mfd/ti-lmu.h>
 #include <linux/mfd/ti-lmu-register.h>
Signature · 1 line
2.31.1
Applied
#1 lore raw

Hi!

Quoted 6 lines

It appears that property.h has been included in some configurations implicitly, but in some it's not and hence build may fail. Add missed property.h explicitly.

Fixes e2e8e4e81875 ("leds: lm36274: Correct headers (of*.h -> mod_devicetable.h)")

Thank you, applied.

Best regards,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek