mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[mcs814x] use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user