From: Arnd Bergmann Date: Thu, 25 Feb 2021 13:42:04 +0000 (+0100) Subject: rtc: tps65910: include linux/property.h X-Git-Tag: microblaze-v5.14~66^2~25 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=936d3685e62436a378f02b8b74759b054d4aeca1;p=linux-2.6-microblaze.git 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 Reviewed-by: Dmitry Osipenko Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/20210225134215.2263694-1-arnd@kernel.org --- diff --git a/drivers/rtc/rtc-tps65910.c b/drivers/rtc/rtc-tps65910.c index 288abb1abdb8..bc89c62ccb9b 100644 --- a/drivers/rtc/rtc-tps65910.c +++ b/drivers/rtc/rtc-tps65910.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include