aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/au88x0
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:10 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:20:55 -0500
commite23e7a1436207217000c2854214bc908936af3cb (patch)
treeaebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/au88x0
parent445a51b353c35fe54840c10352ef51152fbb94df (diff)
ALSA: pci: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0')
-rw-r--r--sound/pci/au88x0/au88x0.c10
-rw-r--r--sound/pci/au88x0/au88x0_a3d.c6
-rw-r--r--sound/pci/au88x0/au88x0_core.c2
-rw-r--r--sound/pci/au88x0/au88x0_eq.c10
-rw-r--r--sound/pci/au88x0/au88x0_game.c2
-rw-r--r--sound/pci/au88x0/au88x0_mixer.c2
-rw-r--r--sound/pci/au88x0/au88x0_mpu401.c2
-rw-r--r--sound/pci/au88x0/au88x0_pcm.c6
8 files changed, 20 insertions, 20 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c
index ffc376f9f4e4..b157e1fadd8f 100644
--- a/sound/pci/au88x0/au88x0.c
+++ b/sound/pci/au88x0/au88x0.c
@@ -78,7 +78,7 @@ static void vortex_fix_agp_bridge(struct pci_dev *via)
78 } 78 }
79} 79}
80 80
81static void __devinit snd_vortex_workaround(struct pci_dev *vortex, int fix) 81static void snd_vortex_workaround(struct pci_dev *vortex, int fix)
82{ 82{
83 struct pci_dev *via = NULL; 83 struct pci_dev *via = NULL;
84 84
@@ -137,7 +137,7 @@ static int snd_vortex_dev_free(struct snd_device *device)
137 137
138// chip-specific constructor 138// chip-specific constructor
139// (see "Management of Cards and Components") 139// (see "Management of Cards and Components")
140static int __devinit 140static int
141snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) 141snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
142{ 142{
143 vortex_t *chip; 143 vortex_t *chip;
@@ -234,7 +234,7 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
234} 234}
235 235
236// constructor -- see "Constructor" sub-section 236// constructor -- see "Constructor" sub-section
237static int __devinit 237static int
238snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) 238snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
239{ 239{
240 static int dev; 240 static int dev;
@@ -368,7 +368,7 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
368} 368}
369 369
370// destructor -- see "Destructor" sub-section 370// destructor -- see "Destructor" sub-section
371static void __devexit snd_vortex_remove(struct pci_dev *pci) 371static void snd_vortex_remove(struct pci_dev *pci)
372{ 372{
373 snd_card_free(pci_get_drvdata(pci)); 373 snd_card_free(pci_get_drvdata(pci));
374 pci_set_drvdata(pci, NULL); 374 pci_set_drvdata(pci, NULL);
@@ -379,7 +379,7 @@ static struct pci_driver vortex_driver = {
379 .name = KBUILD_MODNAME, 379 .name = KBUILD_MODNAME,
380 .id_table = snd_vortex_ids, 380 .id_table = snd_vortex_ids,
381 .probe = snd_vortex_probe, 381 .probe = snd_vortex_probe,
382 .remove = __devexit_p(snd_vortex_remove), 382 .remove = snd_vortex_remove,
383}; 383};
384 384
385module_pci_driver(vortex_driver); 385module_pci_driver(vortex_driver);
diff --git a/sound/pci/au88x0/au88x0_a3d.c b/sound/pci/au88x0/au88x0_a3d.c
index 9ae8b3b17651..aad831acbb17 100644
--- a/sound/pci/au88x0/au88x0_a3d.c
+++ b/sound/pci/au88x0/au88x0_a3d.c
@@ -594,7 +594,7 @@ static int Vort3DRend_Initialize(vortex_t * v, unsigned short mode)
594static int vortex_a3d_register_controls(vortex_t * vortex); 594static int vortex_a3d_register_controls(vortex_t * vortex);
595static void vortex_a3d_unregister_controls(vortex_t * vortex); 595static void vortex_a3d_unregister_controls(vortex_t * vortex);
596/* A3D base support init/shudown */ 596/* A3D base support init/shudown */
597static void __devinit vortex_Vort3D_enable(vortex_t * v) 597static void vortex_Vort3D_enable(vortex_t *v)
598{ 598{
599 int i; 599 int i;
600 600
@@ -845,7 +845,7 @@ snd_vortex_a3d_filter_put(struct snd_kcontrol *kcontrol,
845 return changed; 845 return changed;
846} 846}
847 847
848static struct snd_kcontrol_new vortex_a3d_kcontrol __devinitdata = { 848static struct snd_kcontrol_new vortex_a3d_kcontrol = {
849 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 849 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
850 .name = "Playback PCM advanced processing", 850 .name = "Playback PCM advanced processing",
851 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE, 851 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
@@ -855,7 +855,7 @@ static struct snd_kcontrol_new vortex_a3d_kcontrol __devinitdata = {
855}; 855};
856 856
857/* Control (un)registration. */ 857/* Control (un)registration. */
858static int __devinit vortex_a3d_register_controls(vortex_t * vortex) 858static int vortex_a3d_register_controls(vortex_t *vortex)
859{ 859{
860 struct snd_kcontrol *kcontrol; 860 struct snd_kcontrol *kcontrol;
861 int err, i; 861 int err, i;
diff --git a/sound/pci/au88x0/au88x0_core.c b/sound/pci/au88x0/au88x0_core.c
index 2698abf5d05d..ae59dbaa53d9 100644
--- a/sound/pci/au88x0/au88x0_core.c
+++ b/sound/pci/au88x0/au88x0_core.c
@@ -2680,7 +2680,7 @@ static void vortex_spdif_init(vortex_t * vortex, int spdif_sr, int spdif_mode)
2680 2680
2681/* Initialization */ 2681/* Initialization */
2682 2682
2683static int __devinit vortex_core_init(vortex_t * vortex) 2683static int vortex_core_init(vortex_t *vortex)
2684{ 2684{
2685 2685
2686 printk(KERN_INFO "Vortex: init.... "); 2686 printk(KERN_INFO "Vortex: init.... ");
diff --git a/sound/pci/au88x0/au88x0_eq.c b/sound/pci/au88x0/au88x0_eq.c
index 278ed8189fca..e7220533ecfc 100644
--- a/sound/pci/au88x0/au88x0_eq.c
+++ b/sound/pci/au88x0/au88x0_eq.c
@@ -757,7 +757,7 @@ snd_vortex_eqtoggle_put(struct snd_kcontrol *kcontrol,
757 return 1; /* Allways changes */ 757 return 1; /* Allways changes */
758} 758}
759 759
760static struct snd_kcontrol_new vortex_eqtoggle_kcontrol __devinitdata = { 760static struct snd_kcontrol_new vortex_eqtoggle_kcontrol = {
761 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 761 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
762 .name = "EQ Enable", 762 .name = "EQ Enable",
763 .index = 0, 763 .index = 0,
@@ -815,7 +815,7 @@ snd_vortex_eq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucon
815 return changed; 815 return changed;
816} 816}
817 817
818static struct snd_kcontrol_new vortex_eq_kcontrol __devinitdata = { 818static struct snd_kcontrol_new vortex_eq_kcontrol = {
819 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 819 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
820 .name = " .", 820 .name = " .",
821 .index = 0, 821 .index = 0,
@@ -854,7 +854,7 @@ snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *u
854 return 0; 854 return 0;
855} 855}
856 856
857static struct snd_kcontrol_new vortex_levels_kcontrol __devinitdata = { 857static struct snd_kcontrol_new vortex_levels_kcontrol = {
858 .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 858 .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
859 .name = "EQ Peaks", 859 .name = "EQ Peaks",
860 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE, 860 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
@@ -863,7 +863,7 @@ static struct snd_kcontrol_new vortex_levels_kcontrol __devinitdata = {
863}; 863};
864 864
865/* EQ band gain labels. */ 865/* EQ band gain labels. */
866static char *EqBandLabels[10] __devinitdata = { 866static char *EqBandLabels[10] = {
867 "EQ0 31Hz\0", 867 "EQ0 31Hz\0",
868 "EQ1 63Hz\0", 868 "EQ1 63Hz\0",
869 "EQ2 125Hz\0", 869 "EQ2 125Hz\0",
@@ -877,7 +877,7 @@ static char *EqBandLabels[10] __devinitdata = {
877}; 877};
878 878
879/* ALSA driver entry points. Init and exit. */ 879/* ALSA driver entry points. Init and exit. */
880static int __devinit vortex_eq_init(vortex_t * vortex) 880static int vortex_eq_init(vortex_t *vortex)
881{ 881{
882 struct snd_kcontrol *kcontrol; 882 struct snd_kcontrol *kcontrol;
883 int err, i; 883 int err, i;
diff --git a/sound/pci/au88x0/au88x0_game.c b/sound/pci/au88x0/au88x0_game.c
index 30a456700d89..280f86de2230 100644
--- a/sound/pci/au88x0/au88x0_game.c
+++ b/sound/pci/au88x0/au88x0_game.c
@@ -92,7 +92,7 @@ static int vortex_game_open(struct gameport *gameport, int mode)
92 return 0; 92 return 0;
93} 93}
94 94
95static int __devinit vortex_gameport_register(vortex_t * vortex) 95static int vortex_gameport_register(vortex_t *vortex)
96{ 96{
97 struct gameport *gp; 97 struct gameport *gp;
98 98
diff --git a/sound/pci/au88x0/au88x0_mixer.c b/sound/pci/au88x0/au88x0_mixer.c
index fa13efbebdaf..a58298cfe7e0 100644
--- a/sound/pci/au88x0/au88x0_mixer.c
+++ b/sound/pci/au88x0/au88x0_mixer.c
@@ -19,7 +19,7 @@ static int remove_ctl(struct snd_card *card, const char *name)
19 return snd_ctl_remove_id(card, &id); 19 return snd_ctl_remove_id(card, &id);
20} 20}
21 21
22static int __devinit snd_vortex_mixer(vortex_t * vortex) 22static int snd_vortex_mixer(vortex_t *vortex)
23{ 23{
24 struct snd_ac97_bus *pbus; 24 struct snd_ac97_bus *pbus;
25 struct snd_ac97_template ac97; 25 struct snd_ac97_template ac97;
diff --git a/sound/pci/au88x0/au88x0_mpu401.c b/sound/pci/au88x0/au88x0_mpu401.c
index e6c6a0febb75..29e5945eef60 100644
--- a/sound/pci/au88x0/au88x0_mpu401.c
+++ b/sound/pci/au88x0/au88x0_mpu401.c
@@ -41,7 +41,7 @@
41#define MPU401_ENTER_UART 0x3f 41#define MPU401_ENTER_UART 0x3f
42#define MPU401_ACK 0xfe 42#define MPU401_ACK 0xfe
43 43
44static int __devinit snd_vortex_midi(vortex_t * vortex) 44static int snd_vortex_midi(vortex_t *vortex)
45{ 45{
46 struct snd_rawmidi *rmidi; 46 struct snd_rawmidi *rmidi;
47 int temp, mode; 47 int temp, mode;
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c
index b2405020284c..a4184bb27761 100644
--- a/sound/pci/au88x0/au88x0_pcm.c
+++ b/sound/pci/au88x0/au88x0_pcm.c
@@ -516,7 +516,7 @@ static int snd_vortex_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_el
516} 516}
517 517
518/* spdif controls */ 518/* spdif controls */
519static struct snd_kcontrol_new snd_vortex_mixer_spdif[] __devinitdata = { 519static struct snd_kcontrol_new snd_vortex_mixer_spdif[] = {
520 { 520 {
521 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 521 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
522 .name = SNDRV_CTL_NAME_IEC958("",PLAYBACK,DEFAULT), 522 .name = SNDRV_CTL_NAME_IEC958("",PLAYBACK,DEFAULT),
@@ -598,7 +598,7 @@ static int snd_vortex_pcm_vol_put(struct snd_kcontrol *kcontrol,
598 598
599static const DECLARE_TLV_DB_MINMAX(vortex_pcm_vol_db_scale, -9600, 2400); 599static const DECLARE_TLV_DB_MINMAX(vortex_pcm_vol_db_scale, -9600, 2400);
600 600
601static struct snd_kcontrol_new snd_vortex_pcm_vol __devinitdata = { 601static struct snd_kcontrol_new snd_vortex_pcm_vol = {
602 .iface = SNDRV_CTL_ELEM_IFACE_PCM, 602 .iface = SNDRV_CTL_ELEM_IFACE_PCM,
603 .name = "PCM Playback Volume", 603 .name = "PCM Playback Volume",
604 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | 604 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
@@ -611,7 +611,7 @@ static struct snd_kcontrol_new snd_vortex_pcm_vol __devinitdata = {
611}; 611};
612 612
613/* create a pcm device */ 613/* create a pcm device */
614static int __devinit snd_vortex_new_pcm(vortex_t *chip, int idx, int nr) 614static int snd_vortex_new_pcm(vortex_t *chip, int idx, int nr)
615{ 615{
616 struct snd_pcm *pcm; 616 struct snd_pcm *pcm;
617 struct snd_kcontrol *kctl; 617 struct snd_kcontrol *kctl;