[PATCH 13/15] rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly

Wolfram Sang posted 15 patches 5 days, 16 hours ago
[PATCH 13/15] rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
Posted by Wolfram Sang 5 days, 16 hours ago
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>
---
 drivers/rtc/rtc-brcmstb-waketimer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-brcmstb-waketimer.c b/drivers/rtc/rtc-brcmstb-waketimer.c
index 1a65a4e0dc00..6c7701b24ba5 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>
-- 
2.39.2
Re: (subset) [PATCH 13/15] rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
Posted by Alexandre Belloni 5 days, 10 hours ago
On Mon, 18 Nov 2024 08:29:12 +0100, Wolfram Sang wrote:
> 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.
> 
> 

Applied, thanks!

[13/15] rtc: brcmstb-waketimer: don't include 'pm_wakeup.h' directly
        https://git.kernel.org/abelloni/c/5b42edefd733

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com