diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-26 00:00:47 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 09:31:06 +0300 |
commit | ab647a2d62f70cf45d7c64bf9f1574b8c52406e4 (patch) | |
tree | aa5ef805f2d1acc5775fc2faf42083e8191688c1 /sound/isa/msnd/msnd_pinnacle.c | |
parent | bd1cd0eb2ce9141100628d476ead4de485501b29 (diff) | |
download | linux-ab647a2d62f70cf45d7c64bf9f1574b8c52406e4.tar.xz |
ALSA: msnd: Add missing __iomem annotations
The io-mapped buffers used in msnd drivers need __iomem annotations.
This fixes sparse warnings like:
sound/isa/msnd/msnd_pinnacle.c:172:45: warning: incorrect type in initializer (different address spaces)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/msnd/msnd_pinnacle.c')
-rw-r--r-- | sound/isa/msnd/msnd_pinnacle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd_pinnacle.c b/sound/isa/msnd/msnd_pinnacle.c index 6c584d9b6c42..642609f7eda9 100644 --- a/sound/isa/msnd/msnd_pinnacle.c +++ b/sound/isa/msnd/msnd_pinnacle.c @@ -169,7 +169,7 @@ static void snd_msnd_eval_dsp_msg(struct snd_msnd *chip, u16 wMessage) static irqreturn_t snd_msnd_interrupt(int irq, void *dev_id) { struct snd_msnd *chip = dev_id; - void *pwDSPQData = chip->mappedbase + DSPQ_DATA_BUFF; + void __iomem *pwDSPQData = chip->mappedbase + DSPQ_DATA_BUFF; u16 head, tail, size; /* Send ack to DSP */ |