From: Arnd Bergmann Date: Tue, 6 Aug 2019 14:18:29 +0000 (+0200) Subject: clocksource: ti-dmtimer: avoid using mach/hardware.h X-Git-Tag: for-5.19/block-exec-2022-06-02~31^2~10^2~24 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=929527bcf9c9f2a8cf44b502a3bb225802d17280;p=linux-block.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 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 +#include static struct clk *omap_dm_timer_get_fclk(struct omap_dm_timer *timer) {