[mcs814x] use the recommended ARM I/O accessors
[openwrt.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / irq.c
index e2ce52a..c1e4892 100644 (file)
@@ -40,7 +40,7 @@ static void __init mcs814x_alloc_gc(void __iomem *base, unsigned int irq_start,
                IRQ_NOREQUEST, 0);
 
        /* Clear all interrupts */
-       __raw_writel(0xffffffff, base + MCS814X_IRQ_ICR);
+       writel_relaxed(0xffffffff, base + MCS814X_IRQ_ICR);
 }
 
 static const struct of_device_id mcs814x_intc_ids[] = {