summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/spi/spi-xtensa-xtfpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/spi/spi-xtensa-xtfpga.c')
-rw-r--r--kernel/drivers/spi/spi-xtensa-xtfpga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/drivers/spi/spi-xtensa-xtfpga.c b/kernel/drivers/spi/spi-xtensa-xtfpga.c
index 2e32ea2f1..be6155cba 100644
--- a/kernel/drivers/spi/spi-xtensa-xtfpga.c
+++ b/kernel/drivers/spi/spi-xtensa-xtfpga.c
@@ -34,13 +34,13 @@ struct xtfpga_spi {
static inline void xtfpga_spi_write32(const struct xtfpga_spi *spi,
unsigned addr, u32 val)
{
- iowrite32(val, spi->regs + addr);
+ __raw_writel(val, spi->regs + addr);
}
static inline unsigned int xtfpga_spi_read32(const struct xtfpga_spi *spi,
unsigned addr)
{
- return ioread32(spi->regs + addr);
+ return __raw_readl(spi->regs + addr);
}
static inline void xtfpga_spi_wait_busy(struct xtfpga_spi *xspi)