aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide/riptide.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/riptide/riptide.c')
-rw-r--r--sound/pci/riptide/riptide.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index 7d291542c5ba..63c1c8041554 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -1706,7 +1706,7 @@ static struct snd_pcm_ops snd_riptide_capture_ops = {
1706 .pointer = snd_riptide_pointer, 1706 .pointer = snd_riptide_pointer,
1707}; 1707};
1708 1708
1709static int __devinit 1709static int
1710snd_riptide_pcm(struct snd_riptide *chip, int device, struct snd_pcm **rpcm) 1710snd_riptide_pcm(struct snd_riptide *chip, int device, struct snd_pcm **rpcm)
1711{ 1711{
1712 struct snd_pcm *pcm; 1712 struct snd_pcm *pcm;
@@ -1857,7 +1857,7 @@ static int snd_riptide_dev_free(struct snd_device *device)
1857 return snd_riptide_free(chip); 1857 return snd_riptide_free(chip);
1858} 1858}
1859 1859
1860static int __devinit 1860static int
1861snd_riptide_create(struct snd_card *card, struct pci_dev *pci, 1861snd_riptide_create(struct snd_card *card, struct pci_dev *pci,
1862 struct snd_riptide **rchip) 1862 struct snd_riptide **rchip)
1863{ 1863{
@@ -1993,7 +1993,7 @@ snd_riptide_proc_read(struct snd_info_entry *entry,
1993 snd_iprintf(buffer, "\n"); 1993 snd_iprintf(buffer, "\n");
1994} 1994}
1995 1995
1996static void __devinit snd_riptide_proc_init(struct snd_riptide *chip) 1996static void snd_riptide_proc_init(struct snd_riptide *chip)
1997{ 1997{
1998 struct snd_info_entry *entry; 1998 struct snd_info_entry *entry;
1999 1999
@@ -2001,7 +2001,7 @@ static void __devinit snd_riptide_proc_init(struct snd_riptide *chip)
2001 snd_info_set_text_ops(entry, chip, snd_riptide_proc_read); 2001 snd_info_set_text_ops(entry, chip, snd_riptide_proc_read);
2002} 2002}
2003 2003
2004static int __devinit snd_riptide_mixer(struct snd_riptide *chip) 2004static int snd_riptide_mixer(struct snd_riptide *chip)
2005{ 2005{
2006 struct snd_ac97_bus *pbus; 2006 struct snd_ac97_bus *pbus;
2007 struct snd_ac97_template ac97; 2007 struct snd_ac97_template ac97;
@@ -2027,7 +2027,7 @@ static int __devinit snd_riptide_mixer(struct snd_riptide *chip)
2027 2027
2028#ifdef SUPPORT_JOYSTICK 2028#ifdef SUPPORT_JOYSTICK
2029 2029
2030static int __devinit 2030static int
2031snd_riptide_joystick_probe(struct pci_dev *pci, const struct pci_device_id *id) 2031snd_riptide_joystick_probe(struct pci_dev *pci, const struct pci_device_id *id)
2032{ 2032{
2033 static int dev; 2033 static int dev;
@@ -2060,7 +2060,7 @@ snd_riptide_joystick_probe(struct pci_dev *pci, const struct pci_device_id *id)
2060 return 0; 2060 return 0;
2061} 2061}
2062 2062
2063static void __devexit snd_riptide_joystick_remove(struct pci_dev *pci) 2063static void snd_riptide_joystick_remove(struct pci_dev *pci)
2064{ 2064{
2065 struct gameport *gameport = pci_get_drvdata(pci); 2065 struct gameport *gameport = pci_get_drvdata(pci);
2066 if (gameport) { 2066 if (gameport) {
@@ -2071,7 +2071,7 @@ static void __devexit snd_riptide_joystick_remove(struct pci_dev *pci)
2071} 2071}
2072#endif 2072#endif
2073 2073
2074static int __devinit 2074static int
2075snd_card_riptide_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) 2075snd_card_riptide_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
2076{ 2076{
2077 static int dev; 2077 static int dev;
@@ -2176,7 +2176,7 @@ snd_card_riptide_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
2176 return err; 2176 return err;
2177} 2177}
2178 2178
2179static void __devexit snd_card_riptide_remove(struct pci_dev *pci) 2179static void snd_card_riptide_remove(struct pci_dev *pci)
2180{ 2180{
2181 snd_card_free(pci_get_drvdata(pci)); 2181 snd_card_free(pci_get_drvdata(pci));
2182 pci_set_drvdata(pci, NULL); 2182 pci_set_drvdata(pci, NULL);
@@ -2186,7 +2186,7 @@ static struct pci_driver driver = {
2186 .name = KBUILD_MODNAME, 2186 .name = KBUILD_MODNAME,
2187 .id_table = snd_riptide_ids, 2187 .id_table = snd_riptide_ids,
2188 .probe = snd_card_riptide_probe, 2188 .probe = snd_card_riptide_probe,
2189 .remove = __devexit_p(snd_card_riptide_remove), 2189 .remove = snd_card_riptide_remove,
2190 .driver = { 2190 .driver = {
2191 .pm = RIPTIDE_PM_OPS, 2191 .pm = RIPTIDE_PM_OPS,
2192 }, 2192 },
@@ -2197,7 +2197,7 @@ static struct pci_driver joystick_driver = {
2197 .name = KBUILD_MODNAME "-joystick", 2197 .name = KBUILD_MODNAME "-joystick",
2198 .id_table = snd_riptide_joystick_ids, 2198 .id_table = snd_riptide_joystick_ids,
2199 .probe = snd_riptide_joystick_probe, 2199 .probe = snd_riptide_joystick_probe,
2200 .remove = __devexit_p(snd_riptide_joystick_remove), 2200 .remove = snd_riptide_joystick_remove,
2201}; 2201};
2202#endif 2202#endif
2203 2203