ar71xx: fix ar724x_pci_wr{,_nf} helpers

SVN-Revision: 20277
lede-17.01
Gabor Juhos 2010-03-18 19:18:36 +00:00
parent 0fd984fc4f
commit ca49e09c9a
1 changed files with 2 additions and 0 deletions

View File

@ -363,6 +363,7 @@ static inline void ar724x_pci_wr(unsigned reg, u32 val)
base = ioremap_nocache(AR724X_PCI_CTRL_BASE, AR724X_PCI_CTRL_SIZE);
__raw_writel(val, base + reg);
(void) __raw_readl(base + reg);
iounmap(base);
}
@ -371,6 +372,7 @@ static inline void ar724x_pci_wr_nf(unsigned reg, u32 val)
void __iomem *base;
base = ioremap_nocache(AR724X_PCI_CTRL_BASE, AR724X_PCI_CTRL_SIZE);
__raw_writel(val, base + reg);
iounmap(base);
}