aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/es1968.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/es1968.c')
-rw-r--r--sound/pci/es1968.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index 7266020c16cb..879db2d7796a 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -1429,7 +1429,7 @@ static void snd_es1968_free_dmabuf(struct es1968 *chip)
1429 } 1429 }
1430} 1430}
1431 1431
1432static int __devinit 1432static int
1433snd_es1968_init_dmabuf(struct es1968 *chip) 1433snd_es1968_init_dmabuf(struct es1968 *chip)
1434{ 1434{
1435 int err; 1435 int err;
@@ -1704,7 +1704,7 @@ static struct snd_pcm_ops snd_es1968_capture_ops = {
1704 */ 1704 */
1705#define CLOCK_MEASURE_BUFSIZE 16768 /* enough large for a single shot */ 1705#define CLOCK_MEASURE_BUFSIZE 16768 /* enough large for a single shot */
1706 1706
1707static void __devinit es1968_measure_clock(struct es1968 *chip) 1707static void es1968_measure_clock(struct es1968 *chip)
1708{ 1708{
1709 int i, apu; 1709 int i, apu;
1710 unsigned int pa, offset, t; 1710 unsigned int pa, offset, t;
@@ -1806,7 +1806,7 @@ static void snd_es1968_pcm_free(struct snd_pcm *pcm)
1806 esm->pcm = NULL; 1806 esm->pcm = NULL;
1807} 1807}
1808 1808
1809static int __devinit 1809static int
1810snd_es1968_pcm(struct es1968 *chip, int device) 1810snd_es1968_pcm(struct es1968 *chip, int device)
1811{ 1811{
1812 struct snd_pcm *pcm; 1812 struct snd_pcm *pcm;
@@ -2016,7 +2016,7 @@ static irqreturn_t snd_es1968_interrupt(int irq, void *dev_id)
2016 * Mixer stuff 2016 * Mixer stuff
2017 */ 2017 */
2018 2018
2019static int __devinit 2019static int
2020snd_es1968_mixer(struct es1968 *chip) 2020snd_es1968_mixer(struct es1968 *chip)
2021{ 2021{
2022 struct snd_ac97_bus *pbus; 2022 struct snd_ac97_bus *pbus;
@@ -2465,7 +2465,7 @@ static SIMPLE_DEV_PM_OPS(es1968_pm, es1968_suspend, es1968_resume);
2465 2465
2466#ifdef SUPPORT_JOYSTICK 2466#ifdef SUPPORT_JOYSTICK
2467#define JOYSTICK_ADDR 0x200 2467#define JOYSTICK_ADDR 0x200
2468static int __devinit snd_es1968_create_gameport(struct es1968 *chip, int dev) 2468static int snd_es1968_create_gameport(struct es1968 *chip, int dev)
2469{ 2469{
2470 struct gameport *gp; 2470 struct gameport *gp;
2471 struct resource *r; 2471 struct resource *r;
@@ -2516,7 +2516,7 @@ static inline void snd_es1968_free_gameport(struct es1968 *chip) { }
2516#endif 2516#endif
2517 2517
2518#ifdef CONFIG_SND_ES1968_INPUT 2518#ifdef CONFIG_SND_ES1968_INPUT
2519static int __devinit snd_es1968_input_register(struct es1968 *chip) 2519static int snd_es1968_input_register(struct es1968 *chip)
2520{ 2520{
2521 struct input_dev *input_dev; 2521 struct input_dev *input_dev;
2522 int err; 2522 int err;
@@ -2653,7 +2653,7 @@ struct ess_device_list {
2653 unsigned short vendor; /* subsystem vendor id */ 2653 unsigned short vendor; /* subsystem vendor id */
2654}; 2654};
2655 2655
2656static struct ess_device_list pm_whitelist[] __devinitdata = { 2656static struct ess_device_list pm_whitelist[] = {
2657 { TYPE_MAESTRO2E, 0x0e11 }, /* Compaq Armada */ 2657 { TYPE_MAESTRO2E, 0x0e11 }, /* Compaq Armada */
2658 { TYPE_MAESTRO2E, 0x1028 }, 2658 { TYPE_MAESTRO2E, 0x1028 },
2659 { TYPE_MAESTRO2E, 0x103c }, 2659 { TYPE_MAESTRO2E, 0x103c },
@@ -2664,19 +2664,19 @@ static struct ess_device_list pm_whitelist[] __devinitdata = {
2664 { TYPE_MAESTRO2, 0x125d }, /* a PCI card, e.g. SF64-PCE2 */ 2664 { TYPE_MAESTRO2, 0x125d }, /* a PCI card, e.g. SF64-PCE2 */
2665}; 2665};
2666 2666
2667static struct ess_device_list mpu_blacklist[] __devinitdata = { 2667static struct ess_device_list mpu_blacklist[] = {
2668 { TYPE_MAESTRO2, 0x125d }, 2668 { TYPE_MAESTRO2, 0x125d },
2669}; 2669};
2670 2670
2671static int __devinit snd_es1968_create(struct snd_card *card, 2671static int snd_es1968_create(struct snd_card *card,
2672 struct pci_dev *pci, 2672 struct pci_dev *pci,
2673 int total_bufsize, 2673 int total_bufsize,
2674 int play_streams, 2674 int play_streams,
2675 int capt_streams, 2675 int capt_streams,
2676 int chip_type, 2676 int chip_type,
2677 int do_pm, 2677 int do_pm,
2678 int radio_nr, 2678 int radio_nr,
2679 struct es1968 **chip_ret) 2679 struct es1968 **chip_ret)
2680{ 2680{
2681 static struct snd_device_ops ops = { 2681 static struct snd_device_ops ops = {
2682 .dev_free = snd_es1968_dev_free, 2682 .dev_free = snd_es1968_dev_free,
@@ -2795,8 +2795,8 @@ static int __devinit snd_es1968_create(struct snd_card *card,
2795 2795
2796/* 2796/*
2797 */ 2797 */
2798static int __devinit snd_es1968_probe(struct pci_dev *pci, 2798static int snd_es1968_probe(struct pci_dev *pci,
2799 const struct pci_device_id *pci_id) 2799 const struct pci_device_id *pci_id)
2800{ 2800{
2801 static int dev; 2801 static int dev;
2802 struct snd_card *card; 2802 struct snd_card *card;
@@ -2906,7 +2906,7 @@ static int __devinit snd_es1968_probe(struct pci_dev *pci,
2906 return 0; 2906 return 0;
2907} 2907}
2908 2908
2909static void __devexit snd_es1968_remove(struct pci_dev *pci) 2909static void snd_es1968_remove(struct pci_dev *pci)
2910{ 2910{
2911 snd_card_free(pci_get_drvdata(pci)); 2911 snd_card_free(pci_get_drvdata(pci));
2912 pci_set_drvdata(pci, NULL); 2912 pci_set_drvdata(pci, NULL);
@@ -2916,7 +2916,7 @@ static struct pci_driver es1968_driver = {
2916 .name = KBUILD_MODNAME, 2916 .name = KBUILD_MODNAME,
2917 .id_table = snd_es1968_ids, 2917 .id_table = snd_es1968_ids,
2918 .probe = snd_es1968_probe, 2918 .probe = snd_es1968_probe,
2919 .remove = __devexit_p(snd_es1968_remove), 2919 .remove = snd_es1968_remove,
2920 .driver = { 2920 .driver = {
2921 .pm = ES1968_PM_OPS, 2921 .pm = ES1968_PM_OPS,
2922 }, 2922 },