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_midi.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_midi.c')
-rw-r--r-- | sound/isa/msnd/msnd_midi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd_midi.c b/sound/isa/msnd/msnd_midi.c index 013d8d1170fe..42876b0cb68b 100644 --- a/sound/isa/msnd/msnd_midi.c +++ b/sound/isa/msnd/msnd_midi.c @@ -119,7 +119,7 @@ void snd_msndmidi_input_read(void *mpuv) { unsigned long flags; struct snd_msndmidi *mpu = mpuv; - void *pwMIDQData = mpu->dev->mappedbase + MIDQ_DATA_BUFF; + void __iomem *pwMIDQData = mpu->dev->mappedbase + MIDQ_DATA_BUFF; u16 head, tail, size; spin_lock_irqsave(&mpu->input_lock, flags); |