git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ALSA: pci: remove __dev* attributes
[pandora-kernel.git]
/
sound
/
pci
/
rme96.c
diff --git
a/sound/pci/rme96.c
b/sound/pci/rme96.c
index
9b98dc4
..
5fb88ac
100644
(file)
--- a/
sound/pci/rme96.c
+++ b/
sound/pci/rme96.c
@@
-270,8
+270,7
@@
snd_rme96_playback_pointer(struct snd_pcm_substream *substream);
static snd_pcm_uframes_t
snd_rme96_capture_pointer(struct snd_pcm_substream *substream);
static snd_pcm_uframes_t
snd_rme96_capture_pointer(struct snd_pcm_substream *substream);
-static void __devinit
-snd_rme96_proc_init(struct rme96 *rme96);
+static void snd_rme96_proc_init(struct rme96 *rme96);
static int
snd_rme96_create_switches(struct snd_card *card,
static int
snd_rme96_create_switches(struct snd_card *card,
@@
-1538,7
+1537,7
@@
snd_rme96_free_adat_pcm(struct snd_pcm *pcm)
rme96->adat_pcm = NULL;
}
rme96->adat_pcm = NULL;
}
-static int
__devinit
+static int
snd_rme96_create(struct rme96 *rme96)
{
struct pci_dev *pci = rme96->pci;
snd_rme96_create(struct rme96 *rme96)
{
struct pci_dev *pci = rme96->pci;
@@
-1786,8
+1785,7
@@
snd_rme96_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer
}
}
}
}
-static void __devinit
-snd_rme96_proc_init(struct rme96 *rme96)
+static void snd_rme96_proc_init(struct rme96 *rme96)
{
struct snd_info_entry *entry;
{
struct snd_info_entry *entry;
@@
-2326,7
+2324,7
@@
static void snd_rme96_card_free(struct snd_card *card)
snd_rme96_free(card->private_data);
}
snd_rme96_free(card->private_data);
}
-static int
__devinit
+static int
snd_rme96_probe(struct pci_dev *pci,
const struct pci_device_id *pci_id)
{
snd_rme96_probe(struct pci_dev *pci,
const struct pci_device_id *pci_id)
{
@@
-2389,7
+2387,7
@@
snd_rme96_probe(struct pci_dev *pci,
return 0;
}
return 0;
}
-static void
__devexit
snd_rme96_remove(struct pci_dev *pci)
+static void snd_rme96_remove(struct pci_dev *pci)
{
snd_card_free(pci_get_drvdata(pci));
pci_set_drvdata(pci, NULL);
{
snd_card_free(pci_get_drvdata(pci));
pci_set_drvdata(pci, NULL);
@@
-2399,7
+2397,7
@@
static struct pci_driver rme96_driver = {
.name = KBUILD_MODNAME,
.id_table = snd_rme96_ids,
.probe = snd_rme96_probe,
.name = KBUILD_MODNAME,
.id_table = snd_rme96_ids,
.probe = snd_rme96_probe,
- .remove =
__devexit_p(snd_rme96_remove)
,
+ .remove =
snd_rme96_remove
,
};
module_pci_driver(rme96_driver);
};
module_pci_driver(rme96_driver);