Commit 2b3e584b9235b302efa769acb172258513400065

Authored by Takashi Iwai
Committed by Jaroslav Kysela
1 parent 79ba34b941

[ALSA] Add dummy obsoleted module options for backward compatibility

Added dummay obsoleted module options for backward compatibility
(to reduce possible bugzilla entries :)

Signed-off-by: Takashi Iwai <tiwai@suse.de>

Showing 7 changed files with 30 additions and 0 deletions Side-by-side Diff

... ... @@ -56,6 +56,10 @@
56 56 module_param(spdif_aclink, bool, 0444);
57 57 MODULE_PARM_DESC(spdif_aclink, "S/PDIF over AC-link.");
58 58  
  59 +/* just for backward compatibility */
  60 +static int enable;
  61 +module_param(enable, int, 0444);
  62 +
59 63  
60 64 /*
61 65 */
sound/pci/atiixp_modem.c
... ... @@ -50,6 +50,10 @@
50 50 module_param(ac97_clock, int, 0444);
51 51 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
52 52  
  53 +/* just for backward compatibility */
  54 +static int enable;
  55 +module_param(enable, int, 0444);
  56 +
53 57  
54 58 /*
55 59 */
sound/pci/hda/hda_intel.c
... ... @@ -61,6 +61,10 @@
61 61 module_param(position_fix, int, 0444);
62 62 MODULE_PARM_DESC(position_fix, "Fix DMA pointer (0 = auto, 1 = none, 2 = POSBUF, 3 = FIFO size).");
63 63  
  64 +/* just for backward compatibility */
  65 +static int enable;
  66 +module_param(enable, int, 0444);
  67 +
64 68 MODULE_LICENSE("GPL");
65 69 MODULE_SUPPORTED_DEVICE("{{Intel, ICH6},"
66 70 "{Intel, ICH6M},"
sound/pci/intel8x0.c
... ... @@ -87,6 +87,12 @@
87 87 module_param(xbox, bool, 0444);
88 88 MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 codec detection.");
89 89  
  90 +/* just for backward compatibility */
  91 +static int enable;
  92 +module_param(enable, int, 0444);
  93 +static int joystick;
  94 +module_param(joystick, int, 0444);
  95 +
90 96 /*
91 97 * Direct registers
92 98 */
sound/pci/intel8x0m.c
... ... @@ -67,6 +67,10 @@
67 67 module_param(ac97_clock, int, 0444);
68 68 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (0 = auto-detect).");
69 69  
  70 +/* just for backward compatibility */
  71 +static int enable;
  72 +module_param(enable, int, 0444);
  73 +
70 74 /*
71 75 * Direct registers
72 76 */
... ... @@ -100,6 +100,10 @@
100 100 module_param(dxs_support, int, 0444);
101 101 MODULE_PARM_DESC(dxs_support, "Support for DXS channels (0 = auto, 1 = enable, 2 = disable, 3 = 48k only, 4 = no VRA, 5 = enable any sample rate)");
102 102  
  103 +/* just for backward compatibility */
  104 +static int enable;
  105 +module_param(enable, int, 0444);
  106 +
103 107  
104 108 /* revision numbers for via686 */
105 109 #define VIA_REV_686_A 0x10
sound/pci/via82xx_modem.c
... ... @@ -66,6 +66,10 @@
66 66 module_param(ac97_clock, int, 0444);
67 67 MODULE_PARM_DESC(ac97_clock, "AC'97 codec clock (default 48000Hz).");
68 68  
  69 +/* just for backward compatibility */
  70 +static int enable;
  71 +module_param(enable, int, 0444);
  72 +
69 73  
70 74 /*
71 75 * Direct registers