diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:00:52 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 08:31:48 +0200 |
commit | 7e9c20f40304a16d5f69dbdc44a551cc48252266 (patch) | |
tree | 5614c2a1684e3f782d73fcc46d5c0cf89501cf14 /sound/drivers/opl3/opl3_oss.c | |
parent | ebd836edfc4324da016ce0c09f809f882a133f50 (diff) | |
download | linux-7e9c20f40304a16d5f69dbdc44a551cc48252266.tar.gz linux-7e9c20f40304a16d5f69dbdc44a551cc48252266.tar.bz2 linux-7e9c20f40304a16d5f69dbdc44a551cc48252266.zip |
ALSA: opl3: Declare common variables properly
Move the declarations of common variables into opl3_voice.h instead of
declaring at each file multiple times, which was error-prone.
This fixes sparse warnings like:
sound/drivers/opl3/opl3_synth.c:51:6: warning: symbol 'snd_opl3_regmap' was not declared. Should it be static?
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers/opl3/opl3_oss.c')
-rw-r--r-- | sound/drivers/opl3/opl3_oss.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/opl3/opl3_oss.c b/sound/drivers/opl3/opl3_oss.c index 8a0ce3f43f42..869220ced4ed 100644 --- a/sound/drivers/opl3/opl3_oss.c +++ b/sound/drivers/opl3/opl3_oss.c @@ -29,8 +29,6 @@ static int snd_opl3_reset_seq_oss(struct snd_seq_oss_arg *arg); /* operators */ -extern struct snd_midi_op opl3_ops; - static struct snd_seq_oss_callback oss_callback = { .owner = THIS_MODULE, .open = snd_opl3_open_seq_oss, |