aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-06 12:35:17 -0500
committerTakashi Iwai <tiwai@suse.de>2012-12-07 01:30:49 -0500
commit9921041452ef6bd12a47e5b3e324d07e84629e03 (patch)
treeb7b34a99e512323ac6ee67f941ea51474c95df19
parent05bcf50367668b6706a44e89c166c541f2644d04 (diff)
sound: oss: 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>
-rw-r--r--sound/oss/ad1848.c2
-rw-r--r--sound/oss/kahlua.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c
index 98d23bdcaf21..4918b7145b73 100644
--- a/sound/oss/ad1848.c
+++ b/sound/oss/ad1848.c
@@ -2864,7 +2864,7 @@ static struct {
2864 {NULL} 2864 {NULL}
2865}; 2865};
2866 2866
2867static struct isapnp_device_id id_table[] __devinitdata = { 2867static struct isapnp_device_id id_table[] = {
2868 { ISAPNP_VENDOR('C','M','I'), ISAPNP_DEVICE(0x0001), 2868 { ISAPNP_VENDOR('C','M','I'), ISAPNP_DEVICE(0x0001),
2869 ISAPNP_VENDOR('@','@','@'), ISAPNP_FUNCTION(0x0001), 0 }, 2869 ISAPNP_VENDOR('@','@','@'), ISAPNP_FUNCTION(0x0001), 0 },
2870 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, 2870 { ISAPNP_ANY_ID, ISAPNP_ANY_ID,
diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c
index 52d06a334e8f..2a44cc106459 100644
--- a/sound/oss/kahlua.c
+++ b/sound/oss/kahlua.c
@@ -43,7 +43,7 @@
43 * not real hardware. 43 * not real hardware.
44 */ 44 */
45 45
46static u8 __devinit mixer_read(unsigned long io, u8 reg) 46static u8 mixer_read(unsigned long io, u8 reg)
47{ 47{
48 outb(reg, io + 4); 48 outb(reg, io + 4);
49 udelay(20); 49 udelay(20);
@@ -52,7 +52,7 @@ static u8 __devinit mixer_read(unsigned long io, u8 reg)
52 return reg; 52 return reg;
53} 53}
54 54
55static int __devinit probe_one(struct pci_dev *pdev, const struct pci_device_id *ent) 55static int probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
56{ 56{
57 struct address_info *hw_config; 57 struct address_info *hw_config;
58 unsigned long base; 58 unsigned long base;
@@ -183,7 +183,7 @@ err_out_free:
183 return 1; 183 return 1;
184} 184}
185 185
186static void __devexit remove_one(struct pci_dev *pdev) 186static void remove_one(struct pci_dev *pdev)
187{ 187{
188 struct address_info *hw_config = pci_get_drvdata(pdev); 188 struct address_info *hw_config = pci_get_drvdata(pdev);
189 sb_dsp_unload(hw_config, 0); 189 sb_dsp_unload(hw_config, 0);
@@ -210,7 +210,7 @@ static struct pci_driver kahlua_driver = {
210 .name = "kahlua", 210 .name = "kahlua",
211 .id_table = id_tbl, 211 .id_table = id_tbl,
212 .probe = probe_one, 212 .probe = probe_one,
213 .remove = __devexit_p(remove_one), 213 .remove = remove_one,
214}; 214};
215 215
216 216
@@ -220,7 +220,7 @@ static int __init kahlua_init_module(void)
220 return pci_register_driver(&kahlua_driver); 220 return pci_register_driver(&kahlua_driver);
221} 221}
222 222
223static void __devexit kahlua_cleanup_module(void) 223static void kahlua_cleanup_module(void)
224{ 224{
225 pci_unregister_driver(&kahlua_driver); 225 pci_unregister_driver(&kahlua_driver);
226} 226}