Commit 6b4a21b6 authored by Mark Brown's avatar Mark Brown

ASoC: dwc: Add missing __iomem annotations

Otherwise sparse gets very upset with us.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 3dba1c26
...@@ -71,12 +71,12 @@ struct dw_i2s_dev { ...@@ -71,12 +71,12 @@ struct dw_i2s_dev {
int (*i2s_clk_cfg)(struct i2s_clk_config_data *config); int (*i2s_clk_cfg)(struct i2s_clk_config_data *config);
}; };
static inline void i2s_write_reg(void *io_base, int reg, u32 val) static inline void i2s_write_reg(void __iomem *io_base, int reg, u32 val)
{ {
writel(val, io_base + reg); writel(val, io_base + reg);
} }
static inline u32 i2s_read_reg(void *io_base, int reg) static inline u32 i2s_read_reg(void __iomem *io_base, int reg)
{ {
return readl(io_base + reg); return readl(io_base + reg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment