aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/jazz16.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/sb/jazz16.c')
-rw-r--r--sound/isa/sb/jazz16.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/isa/sb/jazz16.c b/sound/isa/sb/jazz16.c
index 410758c68090..4961da4e627c 100644
--- a/sound/isa/sb/jazz16.c
+++ b/sound/isa/sb/jazz16.c
@@ -78,8 +78,8 @@ static irqreturn_t jazz16_interrupt(int irq, void *chip)
78 return snd_sb8dsp_interrupt(chip); 78 return snd_sb8dsp_interrupt(chip);
79} 79}
80 80
81static int __devinit jazz16_configure_ports(unsigned long port, 81static int jazz16_configure_ports(unsigned long port,
82 unsigned long mpu_port, int idx) 82 unsigned long mpu_port, int idx)
83{ 83{
84 unsigned char val; 84 unsigned char val;
85 85
@@ -99,8 +99,8 @@ static int __devinit jazz16_configure_ports(unsigned long port,
99 return 0; 99 return 0;
100} 100}
101 101
102static int __devinit jazz16_detect_board(unsigned long port, 102static int jazz16_detect_board(unsigned long port,
103 unsigned long mpu_port) 103 unsigned long mpu_port)
104{ 104{
105 int err; 105 int err;
106 int val; 106 int val;
@@ -156,7 +156,7 @@ err_unmap:
156 return err; 156 return err;
157} 157}
158 158
159static int __devinit jazz16_configure_board(struct snd_sb *chip, int mpu_irq) 159static int jazz16_configure_board(struct snd_sb *chip, int mpu_irq)
160{ 160{
161 static unsigned char jazz_irq_bits[] = { 0, 0, 2, 3, 0, 1, 0, 4, 161 static unsigned char jazz_irq_bits[] = { 0, 0, 2, 3, 0, 1, 0, 4,
162 0, 2, 5, 0, 0, 0, 0, 6 }; 162 0, 2, 5, 0, 0, 0, 0, 6 };
@@ -183,7 +183,7 @@ static int __devinit jazz16_configure_board(struct snd_sb *chip, int mpu_irq)
183 return 0; 183 return 0;
184} 184}
185 185
186static int __devinit snd_jazz16_match(struct device *devptr, unsigned int dev) 186static int snd_jazz16_match(struct device *devptr, unsigned int dev)
187{ 187{
188 if (!enable[dev]) 188 if (!enable[dev])
189 return 0; 189 return 0;
@@ -218,7 +218,7 @@ static int __devinit snd_jazz16_match(struct device *devptr, unsigned int dev)
218 return 1; 218 return 1;
219} 219}
220 220
221static int __devinit snd_jazz16_probe(struct device *devptr, unsigned int dev) 221static int snd_jazz16_probe(struct device *devptr, unsigned int dev)
222{ 222{
223 struct snd_card *card; 223 struct snd_card *card;
224 struct snd_card_jazz16 *jazz16; 224 struct snd_card_jazz16 *jazz16;
@@ -341,7 +341,7 @@ err_free:
341 return err; 341 return err;
342} 342}
343 343
344static int __devexit snd_jazz16_remove(struct device *devptr, unsigned int dev) 344static int snd_jazz16_remove(struct device *devptr, unsigned int dev)
345{ 345{
346 struct snd_card *card = dev_get_drvdata(devptr); 346 struct snd_card *card = dev_get_drvdata(devptr);
347 347
@@ -380,7 +380,7 @@ static int snd_jazz16_resume(struct device *pdev, unsigned int n)
380static struct isa_driver snd_jazz16_driver = { 380static struct isa_driver snd_jazz16_driver = {
381 .match = snd_jazz16_match, 381 .match = snd_jazz16_match,
382 .probe = snd_jazz16_probe, 382 .probe = snd_jazz16_probe,
383 .remove = __devexit_p(snd_jazz16_remove), 383 .remove = snd_jazz16_remove,
384#ifdef CONFIG_PM 384#ifdef CONFIG_PM
385 .suspend = snd_jazz16_suspend, 385 .suspend = snd_jazz16_suspend,
386 .resume = snd_jazz16_resume, 386 .resume = snd_jazz16_resume,