Commit f007dc04 authored by Takashi Iwai's avatar Takashi Iwai Committed by Linus Torvalds

[ALSA] oxygen - Fix section mismatch

Removed invalid __devinit and __devexit that are remaining after
split to a helper module.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c0792e00
...@@ -204,7 +204,7 @@ static void oxygen_proc_read(struct snd_info_entry *entry, ...@@ -204,7 +204,7 @@ static void oxygen_proc_read(struct snd_info_entry *entry,
mutex_unlock(&chip->mutex); mutex_unlock(&chip->mutex);
} }
static void __devinit oxygen_proc_init(struct oxygen *chip) static void oxygen_proc_init(struct oxygen *chip)
{ {
struct snd_info_entry *entry; struct snd_info_entry *entry;
...@@ -215,7 +215,7 @@ static void __devinit oxygen_proc_init(struct oxygen *chip) ...@@ -215,7 +215,7 @@ static void __devinit oxygen_proc_init(struct oxygen *chip)
#define oxygen_proc_init(chip) #define oxygen_proc_init(chip)
#endif #endif
static void __devinit oxygen_init(struct oxygen *chip) static void oxygen_init(struct oxygen *chip)
{ {
unsigned int i; unsigned int i;
...@@ -399,8 +399,8 @@ static void oxygen_card_free(struct snd_card *card) ...@@ -399,8 +399,8 @@ static void oxygen_card_free(struct snd_card *card)
pci_disable_device(chip->pci); pci_disable_device(chip->pci);
} }
int __devinit oxygen_pci_probe(struct pci_dev *pci, int index, char *id, int oxygen_pci_probe(struct pci_dev *pci, int index, char *id,
int midi, const struct oxygen_model *model) int midi, const struct oxygen_model *model)
{ {
struct snd_card *card; struct snd_card *card;
struct oxygen *chip; struct oxygen *chip;
...@@ -507,7 +507,7 @@ int __devinit oxygen_pci_probe(struct pci_dev *pci, int index, char *id, ...@@ -507,7 +507,7 @@ int __devinit oxygen_pci_probe(struct pci_dev *pci, int index, char *id,
} }
EXPORT_SYMBOL(oxygen_pci_probe); EXPORT_SYMBOL(oxygen_pci_probe);
void __devexit oxygen_pci_remove(struct pci_dev *pci) void oxygen_pci_remove(struct pci_dev *pci)
{ {
snd_card_free(pci_get_drvdata(pci)); snd_card_free(pci_get_drvdata(pci));
pci_set_drvdata(pci, NULL); pci_set_drvdata(pci, NULL);
......
...@@ -634,7 +634,7 @@ static void oxygen_pcm_free(struct snd_pcm *pcm) ...@@ -634,7 +634,7 @@ static void oxygen_pcm_free(struct snd_pcm *pcm)
snd_pcm_lib_preallocate_free_for_all(pcm); snd_pcm_lib_preallocate_free_for_all(pcm);
} }
int __devinit oxygen_pcm_init(struct oxygen *chip) int oxygen_pcm_init(struct oxygen *chip)
{ {
struct snd_pcm *pcm; struct snd_pcm *pcm;
int outs, ins; int outs, ins;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment