aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:19 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:31:45 -0500
commit3dd0676335f846e3e7d275c379a112c2f8a832cb (patch)
treeba94d2379ff4569635b5c54b711cf16cf9e91b02 /sound
parent2f5c1302815c4c5b946a1cf8c6a79152f3dde721 (diff)
ALSA: bt87X: 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> Acked-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/bt87x.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index b6a95eeca095..cdd100dae855 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -164,7 +164,7 @@ struct snd_bt87x_board {
164 unsigned no_digital:1; /* No digital input */ 164 unsigned no_digital:1; /* No digital input */
165}; 165};
166 166
167static __devinitdata struct snd_bt87x_board snd_bt87x_boards[] = { 167static struct snd_bt87x_board snd_bt87x_boards[] = {
168 [SND_BT87X_BOARD_UNKNOWN] = { 168 [SND_BT87X_BOARD_UNKNOWN] = {
169 .dig_rate = 32000, /* just a guess */ 169 .dig_rate = 32000, /* just a guess */
170 }, 170 },
@@ -696,7 +696,7 @@ static int snd_bt87x_dev_free(struct snd_device *device)
696 return snd_bt87x_free(chip); 696 return snd_bt87x_free(chip);
697} 697}
698 698
699static int __devinit snd_bt87x_pcm(struct snd_bt87x *chip, int device, char *name) 699static int snd_bt87x_pcm(struct snd_bt87x *chip, int device, char *name)
700{ 700{
701 int err; 701 int err;
702 struct snd_pcm *pcm; 702 struct snd_pcm *pcm;
@@ -714,9 +714,9 @@ static int __devinit snd_bt87x_pcm(struct snd_bt87x *chip, int device, char *nam
714 ALIGN(255 * 4092, 1024)); 714 ALIGN(255 * 4092, 1024));
715} 715}
716 716
717static int __devinit snd_bt87x_create(struct snd_card *card, 717static int snd_bt87x_create(struct snd_card *card,
718 struct pci_dev *pci, 718 struct pci_dev *pci,
719 struct snd_bt87x **rchip) 719 struct snd_bt87x **rchip)
720{ 720{
721 struct snd_bt87x *chip; 721 struct snd_bt87x *chip;
722 int err; 722 int err;
@@ -822,7 +822,7 @@ MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);
822 * (DVB cards use the audio function to transfer MPEG data) */ 822 * (DVB cards use the audio function to transfer MPEG data) */
823static struct { 823static struct {
824 unsigned short subvendor, subdevice; 824 unsigned short subvendor, subdevice;
825} blacklist[] __devinitdata = { 825} blacklist[] = {
826 {0x0071, 0x0101}, /* Nebula Electronics DigiTV */ 826 {0x0071, 0x0101}, /* Nebula Electronics DigiTV */
827 {0x11bd, 0x001c}, /* Pinnacle PCTV Sat */ 827 {0x11bd, 0x001c}, /* Pinnacle PCTV Sat */
828 {0x11bd, 0x0026}, /* Pinnacle PCTV SAT CI */ 828 {0x11bd, 0x0026}, /* Pinnacle PCTV SAT CI */
@@ -837,7 +837,7 @@ static struct {
837}; 837};
838 838
839/* return the id of the card, or a negative value if it's blacklisted */ 839/* return the id of the card, or a negative value if it's blacklisted */
840static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) 840static int snd_bt87x_detect_card(struct pci_dev *pci)
841{ 841{
842 int i; 842 int i;
843 const struct pci_device_id *supported; 843 const struct pci_device_id *supported;
@@ -862,8 +862,8 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
862 return SND_BT87X_BOARD_UNKNOWN; 862 return SND_BT87X_BOARD_UNKNOWN;
863} 863}
864 864
865static int __devinit snd_bt87x_probe(struct pci_dev *pci, 865static int snd_bt87x_probe(struct pci_dev *pci,
866 const struct pci_device_id *pci_id) 866 const struct pci_device_id *pci_id)
867{ 867{
868 static int dev; 868 static int dev;
869 struct snd_card *card; 869 struct snd_card *card;
@@ -948,7 +948,7 @@ _error:
948 return err; 948 return err;
949} 949}
950 950
951static void __devexit snd_bt87x_remove(struct pci_dev *pci) 951static void snd_bt87x_remove(struct pci_dev *pci)
952{ 952{
953 snd_card_free(pci_get_drvdata(pci)); 953 snd_card_free(pci_get_drvdata(pci));
954 pci_set_drvdata(pci, NULL); 954 pci_set_drvdata(pci, NULL);
@@ -966,7 +966,7 @@ static struct pci_driver bt87x_driver = {
966 .name = KBUILD_MODNAME, 966 .name = KBUILD_MODNAME,
967 .id_table = snd_bt87x_ids, 967 .id_table = snd_bt87x_ids,
968 .probe = snd_bt87x_probe, 968 .probe = snd_bt87x_probe,
969 .remove = __devexit_p(snd_bt87x_remove), 969 .remove = snd_bt87x_remove,
970}; 970};
971 971
972module_pci_driver(bt87x_driver); 972module_pci_driver(bt87x_driver);