aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-ti-dm.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2019-08-06 14:18:29 +0000
committerArnd Bergmann <[email protected]>2022-04-21 13:01:35 +0000
commit929527bcf9c9f2a8cf44b502a3bb225802d17280 (patch)
tree2d48a1d927e08e9bc0fc434eb8f077f4e013196a /drivers/clocksource/timer-ti-dm.c
parentusb: omap: avoid mach/*.h headers (diff)
downloadkernel-929527bcf9c9f2a8cf44b502a3bb225802d17280.tar.gz
kernel-929527bcf9c9f2a8cf44b502a3bb225802d17280.zip
clocksource: ti-dmtimer: avoid using mach/hardware.h
As a preparation for future omap1 multiplatform support, stop using mach/hardware.h and instead include the omap1-io.h for low-level register access to MOD_CONF_CTRL_1. Acked-by: Daniel Lezcano <[email protected]> Acked-by: Tony Lindgren <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-ti-dm.c')
-rw-r--r--drivers/clocksource/timer-ti-dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
index 3e52c5226c4d..df4a73ea6651 100644
--- a/drivers/clocksource/timer-ti-dm.c
+++ b/drivers/clocksource/timer-ti-dm.c
@@ -433,7 +433,7 @@ int omap_dm_timer_get_irq(struct omap_dm_timer *timer)
}
#if defined(CONFIG_ARCH_OMAP1)
-#include <mach/hardware.h>
+#include <linux/soc/ti/omap1-io.h>
static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer)
{