diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-28 16:11:47 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-28 16:14:52 +0400 |
commit | 6b4a21b64ccc218a00dc0e38676092e64df159dc (patch) | |
tree | e552eab2117c2f065ece3841959e1563e32e40eb /sound/soc/dwc | |
parent | 3dba1c265268950b1ddd22e53ea823c1cb57b684 (diff) | |
download | linux-6b4a21b64ccc218a00dc0e38676092e64df159dc.tar.xz |
ASoC: dwc: Add missing __iomem annotations
Otherwise sparse gets very upset with us.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/dwc')
-rw-r--r-- | sound/soc/dwc/designware_i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c index e667e2b45e67..1bd042b15aef 100644 --- a/sound/soc/dwc/designware_i2s.c +++ b/sound/soc/dwc/designware_i2s.c @@ -71,12 +71,12 @@ struct dw_i2s_dev { 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); } -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); } |