ALSA: usb: update old-style static const declaration

GCC reports the following warning with W=1

sound/usb/mixer_quirks.c: In function ‘snd_microii_controls_create’:
sound/usb/mixer_quirks.c:1694:2: warning: ‘static’ is not at beginning
of declaration [-Wold-style-declaration]
 1694 |  const static usb_mixer_elem_resume_func_t resume_funcs[] = {
      |  ^~~~~

Move static to the beginning of declaration

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200111214736.3002-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Pierre-Louis Bossart 2020-01-11 15:47:36 -06:00 committed by Takashi Iwai
parent 8a71821f12
commit ff40e0d41a
1 changed files with 1 additions and 1 deletions

View File

@ -1691,7 +1691,7 @@ static const struct snd_kcontrol_new snd_microii_mixer_spdif[] = {
static int snd_microii_controls_create(struct usb_mixer_interface *mixer) static int snd_microii_controls_create(struct usb_mixer_interface *mixer)
{ {
int err, i; int err, i;
const static usb_mixer_elem_resume_func_t resume_funcs[] = { static const usb_mixer_elem_resume_func_t resume_funcs[] = {
snd_microii_spdif_default_update, snd_microii_spdif_default_update,
NULL, NULL,
snd_microii_spdif_switch_update snd_microii_spdif_switch_update