ALSA: module_param: make bool parameters really bool
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / pci / aw2 / aw2-alsa.c
index 7a581151db0d6d2848e556f5092d0f6296d9316b..1c5231931462926f5919c57814b034f8474951d7 100644 (file)
@@ -153,7 +153,7 @@ static int snd_aw2_control_switch_capture_put(struct snd_kcontrol *kcontrol,
  ********************************/
 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;
 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;
-static int enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
+static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP;
 
 module_param_array(index, int, NULL, 0444);
 MODULE_PARM_DESC(index, "Index value for Audiowerk2 soundcard.");