diff options
Diffstat (limited to 'arch/arm/mach-omap2/wd_timer.c')
-rw-r--r-- | arch/arm/mach-omap2/wd_timer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/wd_timer.c b/arch/arm/mach-omap2/wd_timer.c index d15c7bbab8e2..97d6607d447a 100644 --- a/arch/arm/mach-omap2/wd_timer.c +++ b/arch/arm/mach-omap2/wd_timer.c | |||
@@ -49,12 +49,12 @@ int omap2_wd_timer_disable(struct omap_hwmod *oh) | |||
49 | } | 49 | } |
50 | 50 | ||
51 | /* sequence required to disable watchdog */ | 51 | /* sequence required to disable watchdog */ |
52 | __raw_writel(0xAAAA, base + OMAP_WDT_SPR); | 52 | writel_relaxed(0xAAAA, base + OMAP_WDT_SPR); |
53 | while (__raw_readl(base + OMAP_WDT_WPS) & 0x10) | 53 | while (readl_relaxed(base + OMAP_WDT_WPS) & 0x10) |
54 | cpu_relax(); | 54 | cpu_relax(); |
55 | 55 | ||
56 | __raw_writel(0x5555, base + OMAP_WDT_SPR); | 56 | writel_relaxed(0x5555, base + OMAP_WDT_SPR); |
57 | while (__raw_readl(base + OMAP_WDT_WPS) & 0x10) | 57 | while (readl_relaxed(base + OMAP_WDT_WPS) & 0x10) |
58 | cpu_relax(); | 58 | cpu_relax(); |
59 | 59 | ||
60 | return 0; | 60 | return 0; |