[media] cx25821, cx88, tm6000: use SNDRV_DEFAULT_ENABLE_PNP
[firefly-linux-kernel-4.4.55.git] / drivers / media / pci / cx88 / cx88-alsa.c
index 7f8dc60028d510eb80511f147f99ebcee3a433e6..57ddf8a34178dcb5c9884c9bff61b4c9a1cf5a90 100644 (file)
@@ -101,7 +101,7 @@ typedef struct cx88_audio_dev snd_cx88_card_t;
 
 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;     /* Index 0-MAX */
 static const char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;        /* ID for this card */
-static bool enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
+static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
 
 module_param_array(enable, bool, NULL, 0444);
 MODULE_PARM_DESC(enable, "Enable cx88x soundcard. default enabled.");