diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-06 12:35:10 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-12-07 01:20:55 -0500 |
commit | e23e7a1436207217000c2854214bc908936af3cb (patch) | |
tree | aebb83a4e59dde76a79ac60b51b67849c75c545b /sound/pci/ctxfi | |
parent | 445a51b353c35fe54840c10352ef51152fbb94df (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/ctxfi')
-rw-r--r-- | sound/pci/ctxfi/ctatc.c | 20 | ||||
-rw-r--r-- | sound/pci/ctxfi/ctatc.h | 8 | ||||
-rw-r--r-- | sound/pci/ctxfi/cthardware.c | 4 | ||||
-rw-r--r-- | sound/pci/ctxfi/cthw20k1.c | 4 | ||||
-rw-r--r-- | sound/pci/ctxfi/cthw20k2.c | 4 | ||||
-rw-r--r-- | sound/pci/ctxfi/xfi.c | 6 |
6 files changed, 23 insertions, 23 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c index a2f997a9977a..b5fa583a239a 100644 --- a/sound/pci/ctxfi/ctatc.c +++ b/sound/pci/ctxfi/ctatc.c | |||
@@ -38,7 +38,7 @@ | |||
38 | | (0x10 << 16) \ | 38 | | (0x10 << 16) \ |
39 | | ((IEC958_AES3_CON_FS_48000) << 24)) | 39 | | ((IEC958_AES3_CON_FS_48000) << 24)) |
40 | 40 | ||
41 | static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = { | 41 | static struct snd_pci_quirk subsys_20k1_list[] = { |
42 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X), | 42 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0022, "SB055x", CTSB055X), |
43 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X), | 43 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x002f, "SB055x", CTSB055X), |
44 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X), | 44 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, 0x0029, "SB073x", CTSB073X), |
@@ -48,7 +48,7 @@ static struct snd_pci_quirk __devinitdata subsys_20k1_list[] = { | |||
48 | { } /* terminator */ | 48 | { } /* terminator */ |
49 | }; | 49 | }; |
50 | 50 | ||
51 | static struct snd_pci_quirk __devinitdata subsys_20k2_list[] = { | 51 | static struct snd_pci_quirk subsys_20k2_list[] = { |
52 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB0760, | 52 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB0760, |
53 | "SB0760", CTSB0760), | 53 | "SB0760", CTSB0760), |
54 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB1270, | 54 | SND_PCI_QUIRK(PCI_VENDOR_ID_CREATIVE, PCI_SUBDEVICE_ID_CREATIVE_SB1270, |
@@ -1249,7 +1249,7 @@ static int atc_dev_free(struct snd_device *dev) | |||
1249 | return ct_atc_destroy(atc); | 1249 | return ct_atc_destroy(atc); |
1250 | } | 1250 | } |
1251 | 1251 | ||
1252 | static int __devinit atc_identify_card(struct ct_atc *atc, unsigned int ssid) | 1252 | static int atc_identify_card(struct ct_atc *atc, unsigned int ssid) |
1253 | { | 1253 | { |
1254 | const struct snd_pci_quirk *p; | 1254 | const struct snd_pci_quirk *p; |
1255 | const struct snd_pci_quirk *list; | 1255 | const struct snd_pci_quirk *list; |
@@ -1296,7 +1296,7 @@ static int __devinit atc_identify_card(struct ct_atc *atc, unsigned int ssid) | |||
1296 | return 0; | 1296 | return 0; |
1297 | } | 1297 | } |
1298 | 1298 | ||
1299 | int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc) | 1299 | int ct_atc_create_alsa_devs(struct ct_atc *atc) |
1300 | { | 1300 | { |
1301 | enum CTALSADEVS i; | 1301 | enum CTALSADEVS i; |
1302 | int err; | 1302 | int err; |
@@ -1319,7 +1319,7 @@ int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc) | |||
1319 | return 0; | 1319 | return 0; |
1320 | } | 1320 | } |
1321 | 1321 | ||
1322 | static int __devinit atc_create_hw_devs(struct ct_atc *atc) | 1322 | static int atc_create_hw_devs(struct ct_atc *atc) |
1323 | { | 1323 | { |
1324 | struct hw *hw; | 1324 | struct hw *hw; |
1325 | struct card_conf info = {0}; | 1325 | struct card_conf info = {0}; |
@@ -1614,7 +1614,7 @@ static int atc_resume(struct ct_atc *atc) | |||
1614 | } | 1614 | } |
1615 | #endif | 1615 | #endif |
1616 | 1616 | ||
1617 | static struct ct_atc atc_preset __devinitdata = { | 1617 | static struct ct_atc atc_preset = { |
1618 | .map_audio_buffer = ct_map_audio_buffer, | 1618 | .map_audio_buffer = ct_map_audio_buffer, |
1619 | .unmap_audio_buffer = ct_unmap_audio_buffer, | 1619 | .unmap_audio_buffer = ct_unmap_audio_buffer, |
1620 | .pcm_playback_prepare = atc_pcm_playback_prepare, | 1620 | .pcm_playback_prepare = atc_pcm_playback_prepare, |
@@ -1665,10 +1665,10 @@ static struct ct_atc atc_preset __devinitdata = { | |||
1665 | * Returns 0 if succeeds, or negative error code if fails. | 1665 | * Returns 0 if succeeds, or negative error code if fails. |
1666 | */ | 1666 | */ |
1667 | 1667 | ||
1668 | int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, | 1668 | int ct_atc_create(struct snd_card *card, struct pci_dev *pci, |
1669 | unsigned int rsr, unsigned int msr, | 1669 | unsigned int rsr, unsigned int msr, |
1670 | int chip_type, unsigned int ssid, | 1670 | int chip_type, unsigned int ssid, |
1671 | struct ct_atc **ratc) | 1671 | struct ct_atc **ratc) |
1672 | { | 1672 | { |
1673 | struct ct_atc *atc; | 1673 | struct ct_atc *atc; |
1674 | static struct snd_device_ops ops = { | 1674 | static struct snd_device_ops ops = { |
diff --git a/sound/pci/ctxfi/ctatc.h b/sound/pci/ctxfi/ctatc.h index 69b51f9d345e..5f11ca22fcde 100644 --- a/sound/pci/ctxfi/ctatc.h +++ b/sound/pci/ctxfi/ctatc.h | |||
@@ -152,9 +152,9 @@ struct ct_atc { | |||
152 | }; | 152 | }; |
153 | 153 | ||
154 | 154 | ||
155 | int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, | 155 | int ct_atc_create(struct snd_card *card, struct pci_dev *pci, |
156 | unsigned int rsr, unsigned int msr, int chip_type, | 156 | unsigned int rsr, unsigned int msr, int chip_type, |
157 | unsigned int subsysid, struct ct_atc **ratc); | 157 | unsigned int subsysid, struct ct_atc **ratc); |
158 | int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc); | 158 | int ct_atc_create_alsa_devs(struct ct_atc *atc); |
159 | 159 | ||
160 | #endif /* CTATC_H */ | 160 | #endif /* CTATC_H */ |
diff --git a/sound/pci/ctxfi/cthardware.c b/sound/pci/ctxfi/cthardware.c index 8e64f4862e85..110b8ace6d8a 100644 --- a/sound/pci/ctxfi/cthardware.c +++ b/sound/pci/ctxfi/cthardware.c | |||
@@ -20,8 +20,8 @@ | |||
20 | #include "cthw20k2.h" | 20 | #include "cthw20k2.h" |
21 | #include <linux/bug.h> | 21 | #include <linux/bug.h> |
22 | 22 | ||
23 | int __devinit create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, | 23 | int create_hw_obj(struct pci_dev *pci, enum CHIPTYP chip_type, |
24 | enum CTCARDS model, struct hw **rhw) | 24 | enum CTCARDS model, struct hw **rhw) |
25 | { | 25 | { |
26 | int err; | 26 | int err; |
27 | 27 | ||
diff --git a/sound/pci/ctxfi/cthw20k1.c b/sound/pci/ctxfi/cthw20k1.c index 4507f7088b24..6ac40beb49da 100644 --- a/sound/pci/ctxfi/cthw20k1.c +++ b/sound/pci/ctxfi/cthw20k1.c | |||
@@ -2171,7 +2171,7 @@ static void hw_write_pci(struct hw *hw, u32 reg, u32 data) | |||
2171 | &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); | 2171 | &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); |
2172 | } | 2172 | } |
2173 | 2173 | ||
2174 | static struct hw ct20k1_preset __devinitdata = { | 2174 | static struct hw ct20k1_preset = { |
2175 | .irq = -1, | 2175 | .irq = -1, |
2176 | 2176 | ||
2177 | .card_init = hw_card_init, | 2177 | .card_init = hw_card_init, |
@@ -2275,7 +2275,7 @@ static struct hw ct20k1_preset __devinitdata = { | |||
2275 | .get_wc = get_wc, | 2275 | .get_wc = get_wc, |
2276 | }; | 2276 | }; |
2277 | 2277 | ||
2278 | int __devinit create_20k1_hw_obj(struct hw **rhw) | 2278 | int create_20k1_hw_obj(struct hw **rhw) |
2279 | { | 2279 | { |
2280 | struct hw20k1 *hw20k1; | 2280 | struct hw20k1 *hw20k1; |
2281 | 2281 | ||
diff --git a/sound/pci/ctxfi/cthw20k2.c b/sound/pci/ctxfi/cthw20k2.c index b9c9349058bc..b1438861d38a 100644 --- a/sound/pci/ctxfi/cthw20k2.c +++ b/sound/pci/ctxfi/cthw20k2.c | |||
@@ -2237,7 +2237,7 @@ static void hw_write_20kx(struct hw *hw, u32 reg, u32 data) | |||
2237 | writel(data, (void *)(hw->mem_base + reg)); | 2237 | writel(data, (void *)(hw->mem_base + reg)); |
2238 | } | 2238 | } |
2239 | 2239 | ||
2240 | static struct hw ct20k2_preset __devinitdata = { | 2240 | static struct hw ct20k2_preset = { |
2241 | .irq = -1, | 2241 | .irq = -1, |
2242 | 2242 | ||
2243 | .card_init = hw_card_init, | 2243 | .card_init = hw_card_init, |
@@ -2345,7 +2345,7 @@ static struct hw ct20k2_preset __devinitdata = { | |||
2345 | .get_wc = get_wc, | 2345 | .get_wc = get_wc, |
2346 | }; | 2346 | }; |
2347 | 2347 | ||
2348 | int __devinit create_20k2_hw_obj(struct hw **rhw) | 2348 | int create_20k2_hw_obj(struct hw **rhw) |
2349 | { | 2349 | { |
2350 | struct hw20k2 *hw20k2; | 2350 | struct hw20k2 *hw20k2; |
2351 | 2351 | ||
diff --git a/sound/pci/ctxfi/xfi.c b/sound/pci/ctxfi/xfi.c index 07c07d752fd8..d01ffcb2b2f5 100644 --- a/sound/pci/ctxfi/xfi.c +++ b/sound/pci/ctxfi/xfi.c | |||
@@ -56,7 +56,7 @@ static DEFINE_PCI_DEVICE_TABLE(ct_pci_dev_ids) = { | |||
56 | }; | 56 | }; |
57 | MODULE_DEVICE_TABLE(pci, ct_pci_dev_ids); | 57 | MODULE_DEVICE_TABLE(pci, ct_pci_dev_ids); |
58 | 58 | ||
59 | static int __devinit | 59 | static int |
60 | ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | 60 | ct_card_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) |
61 | { | 61 | { |
62 | static int dev; | 62 | static int dev; |
@@ -119,7 +119,7 @@ error: | |||
119 | return err; | 119 | return err; |
120 | } | 120 | } |
121 | 121 | ||
122 | static void __devexit ct_card_remove(struct pci_dev *pci) | 122 | static void ct_card_remove(struct pci_dev *pci) |
123 | { | 123 | { |
124 | snd_card_free(pci_get_drvdata(pci)); | 124 | snd_card_free(pci_get_drvdata(pci)); |
125 | pci_set_drvdata(pci, NULL); | 125 | pci_set_drvdata(pci, NULL); |
@@ -152,7 +152,7 @@ static struct pci_driver ct_driver = { | |||
152 | .name = KBUILD_MODNAME, | 152 | .name = KBUILD_MODNAME, |
153 | .id_table = ct_pci_dev_ids, | 153 | .id_table = ct_pci_dev_ids, |
154 | .probe = ct_card_probe, | 154 | .probe = ct_card_probe, |
155 | .remove = __devexit_p(ct_card_remove), | 155 | .remove = ct_card_remove, |
156 | .driver = { | 156 | .driver = { |
157 | .pm = CT_CARD_PM_OPS, | 157 | .pm = CT_CARD_PM_OPS, |
158 | }, | 158 | }, |