[v1,1/1] leds: lm36274: Add missed property.h

Message ID 20210530203228.3958241-1-andy.shevchenko@gmail.com
State New
Headers show
Series
  • [v1,1/1] leds: lm36274: Add missed property.h
Related show

Commit Message

Andy Shevchenko May 30, 2021, 8:32 p.m.
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)")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
---
 drivers/leds/leds-lm36274.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Pavel Machek May 30, 2021, 9:04 p.m. | #1
Hi!

> 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)")
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>

Thank you, applied.

Best regards,
								Pavel

Patch

diff --git a/drivers/leds/leds-lm36274.c b/drivers/leds/leds-lm36274.c
index 90dc5cbebed4..e009b6d17915 100644
--- a/drivers/leds/leds-lm36274.c
+++ b/drivers/leds/leds-lm36274.c
@@ -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>