Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3758b0f8 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

alarmtimers: Avoid rtc.h include



rtc.h is not needed in alarmtimers when a forward declaration of struct
rtc_device is provided. That allows to include posix-timers.h without
adding more includes to alarmtimer.h or creating circular include
dependencies.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Reviewed-by: default avatarFrederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190819143801.565389536@linutronix.de
parent ce03f613
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5,7 +5,8 @@
#include <linux/time.h>
#include <linux/hrtimer.h>
#include <linux/timerqueue.h>
#include <linux/rtc.h>

struct rtc_device;

enum alarmtimer_type {
	ALARM_REALTIME,