]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Nov 2024 07:29:12 +0000 (08:29 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Nov 2024 13:47:40 +0000 (14:47 +0100)
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>
drivers/rtc/rtc-brcmstb-waketimer.c

index b108e75042eb72541c41aee17181f2b1e0b81139..fb47c32ab5ff4f89fc1512bf1a9f8278f84dc958 100644 (file)
@@ -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>