lkml.org 
[lkml]   [2022]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/41] clocksource: ti-dmtimer: avoid using mach/hardware.h
    Date
    From: Arnd Bergmann <arnd@arndb.de>

    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 <daniel.lezcano@linaro.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    ---
    drivers/clocksource/timer-ti-dm.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    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)
    {
    --
    2.29.2
    \
     
     \ /
      Last update: 2022-04-19 15:43    [W:4.238 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site