rtc: tps65910: include linux/property.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Feb 2021 13:42:04 +0000 (14:42 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 15 Mar 2021 21:38:51 +0000 (22:38 +0100)
commit936d3685e62436a378f02b8b74759b054d4aeca1
tree6da05699246701bc8a5279a2bdc85a59e4f62189
parent55cc33fab5ac9f7e2a97aa7c564e8b35355886d5
rtc: tps65910: include linux/property.h

The added device_property_present() call causes a build
failure in some configurations because of the missing header:

drivers/rtc/rtc-tps65910.c:422:7: error: implicit declaration of function 'device_property_present' [-Werror,-Wimplicit-function-declaration]

Fixes: 454ba154a62c ("rtc: tps65910: Support wakeup-source property")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210225134215.2263694-1-arnd@kernel.org
drivers/rtc/rtc-tps65910.c