ALSA: opl3: Declare common variables properly
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:00:52 +0000 (23:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Jul 2018 06:31:48 +0000 (08:31 +0200)
commit7e9c20f40304a16d5f69dbdc44a551cc48252266
tree5614c2a1684e3f782d73fcc46d5c0cf89501cf14
parentebd836edfc4324da016ce0c09f809f882a133f50
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>
sound/drivers/opl3/opl3_drums.c
sound/drivers/opl3/opl3_lib.c
sound/drivers/opl3/opl3_midi.c
sound/drivers/opl3/opl3_oss.c
sound/drivers/opl3/opl3_synth.c
sound/drivers/opl3/opl3_voice.h