aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-gxp.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2023-08-31 03:21:22 +0200
committerThomas Gleixner <tglx@linutronix.de>2023-08-31 03:21:22 +0200
commit5146e1f589ccb04cf987b45296aa27f90a2407dc (patch)
treee83124418a7b67a001b50b128face860586932d5 /drivers/clocksource/timer-gxp.c
parentd2b32be7debd6c0deeae95844997bd89fbe4769d (diff)
parent0a8b07c77ea09602a152d3604e599f95726306d0 (diff)
Merge tag 'timers-v6.6-rc1' of https://git.linaro.org/people/daniel.lezcano/linux into timers/core
Pull clocksource/clockdevice updates from Daniel Lezcano: - Remove oxnas the 0x810 and the 0x820 timer drivers, the platform being no longer maintained and removed (Neil Armstrong) - Disable the timer before programming the CVAL as there is no guarantee of atomicity on the ARM architected timer (Walter Chang) - Set variable ls1x_timer_lock static on the Loongson1 (Tom Rix) - Remove duplication of code and data by factoring out the structures into a single one and convert to the platform driver on the sun5i (Mans Rullgard) - Explicitly include correct DT includes (Rob Herring)
Diffstat (limited to 'drivers/clocksource/timer-gxp.c')
-rw-r--r--drivers/clocksource/timer-gxp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/timer-gxp.c b/drivers/clocksource/timer-gxp.c
index fe4fa8d7b3f1..57aa2e2cce53 100644
--- a/drivers/clocksource/timer-gxp.c
+++ b/drivers/clocksource/timer-gxp.c
@@ -8,6 +8,7 @@
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
+#include <linux/platform_device.h>
#include <linux/sched_clock.h>
#define TIMER0_FREQ 1000000