summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-11-18 08:29:12 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-11-18 14:47:40 +0100
commit5b42edefd733371092ac771d4b1af031c8bbe4ba (patch)
tree12f0a27934286874b4d808127126d83d7d45d891 /drivers
parentrtc: m48t59: Use platform_data struct for year offset value (diff)
downloadlinux-5b42edefd733371092ac771d4b1af031c8bbe4ba.tar.xz
linux-5b42edefd733371092ac771d4b1af031c8bbe4ba.zip
rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
The header clearly states that it does not want to be included directly, only via 'device.h'. 'platform_device.h' works equally well. Remove the direct inclusion. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20241118072917.3853-14-wsa+renesas@sang-engineering.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-brcmstb-waketimer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c
index b108e75042eb..fb47c32ab5ff 100644
--- a/drivers/rtc/rtc-brcmstb-waketimer.c
+++ b/drivers/rtc/rtc-brcmstb-waketimer.c
@@ -17,7 +17,6 @@
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
-#include <linux/pm_wakeup.h>
#include <linux/reboot.h>
#include <linux/rtc.h>
#include <linux/stat.h>