From: Arnd Bergmann Date: Tue, 6 Aug 2019 14:18:29 +0000 (+0200) Subject: clocksource: ti-dmtimer: avoid using mach/hardware.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=929527bcf9c9f2a8cf44b502a3bb225802d17280;p=linux.git 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 Acked-by: Tony Lindgren Signed-off-by: Arnd Bergmann --- diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c index 3e52c5226c4d9..df4a73ea66510 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 +#include static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer) {