diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-01 01:11:53 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-11-08 05:52:24 -0500 |
commit | 8918b843aff3236de6301b1137434d3f0bc0a0f5 (patch) | |
tree | f2a8e1f8b6b3032555068ae7ec6326d2d6eeb099 /sound/soc/sh/fsi.c | |
parent | 41966710ab574f1fcedf3e10e1ceef911c096d1d (diff) |
ASoC: fsi: fixup compile warning
This patch fixup below warning
${linux}/sound/soc/sh/fsi.c:442:3:\
warning: passing argument 1 of '__fsi_reg_read' makes pointer\
from integer without a cast
${linux}/sound/soc/sh/fsi.c:517:3: \
warning: passing argument 1 of '__fsi_reg_write' makes pointer\
from integer without a cast
${linux}/sound/soc/sh/fsi.c:663:3: \
warning: passing argument 1 of '__fsi_reg_mask_set' makes pointer\
from integer without a cast
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r-- | sound/soc/sh/fsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 3d7016e128f9..e620cb17cd2c 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -235,13 +235,13 @@ static void __fsi_reg_mask_set(u32 __iomem *reg, u32 mask, u32 data) | |||
235 | } | 235 | } |
236 | 236 | ||
237 | #define fsi_reg_write(p, r, d)\ | 237 | #define fsi_reg_write(p, r, d)\ |
238 | __fsi_reg_write((u32)(p->base + REG_##r), d) | 238 | __fsi_reg_write((p->base + REG_##r), d) |
239 | 239 | ||
240 | #define fsi_reg_read(p, r)\ | 240 | #define fsi_reg_read(p, r)\ |
241 | __fsi_reg_read((u32)(p->base + REG_##r)) | 241 | __fsi_reg_read((p->base + REG_##r)) |
242 | 242 | ||
243 | #define fsi_reg_mask_set(p, r, m, d)\ | 243 | #define fsi_reg_mask_set(p, r, m, d)\ |
244 | __fsi_reg_mask_set((u32)(p->base + REG_##r), m, d) | 244 | __fsi_reg_mask_set((p->base + REG_##r), m, d) |
245 | 245 | ||
246 | #define fsi_master_read(p, r) _fsi_master_read(p, MST_##r) | 246 | #define fsi_master_read(p, r) _fsi_master_read(p, MST_##r) |
247 | #define fsi_core_read(p, r) _fsi_master_read(p, p->core->r) | 247 | #define fsi_core_read(p, r) _fsi_master_read(p, p->core->r) |