• Takashi Iwai's avatar
    ALSA: opl3: Declare common variables properly · 7e9c20f4
    Takashi Iwai authored
    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: default avatarTakashi Iwai <tiwai@suse.de>
    7e9c20f4
opl3_synth.c 16.7 KB