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.h | |
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.h')
-rw-r--r-- | sound/isa/msnd/msnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd.h b/sound/isa/msnd/msnd.h index 5f3c7dcd9f9d..80c718757eef 100644 --- a/sound/isa/msnd/msnd.h +++ b/sound/isa/msnd/msnd.h @@ -283,7 +283,7 @@ struct snd_msnd { }; -void snd_msnd_init_queue(void *base, int start, int size); +void snd_msnd_init_queue(void __iomem *base, int start, int size); int snd_msnd_send_dsp_cmd(struct snd_msnd *chip, u8 cmd); int snd_msnd_send_word(struct snd_msnd *chip, |