Skip to content

Commit

Permalink
ASoC: dwc: Add missing __iomem annotations
Browse files Browse the repository at this point in the history
Otherwise sparse gets very upset with us.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jun 28, 2012
1 parent 3dba1c2 commit 6b4a21b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/dwc/designware_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6b4a21b

Please sign in to comment.