leds: lm36274: Add missed property.h
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Sun, 30 May 2021 20:32:28 +0000 (23:32 +0300)
committerPavel Machek <pavel@ucw.cz>
Sun, 30 May 2021 21:03:48 +0000 (23:03 +0200)
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>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm36274.c

index 90dc5cb..e009b6d 100644 (file)
@@ -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>