diff options
Diffstat (limited to 'sound/sparc/dbri.c')
-rw-r--r-- | sound/sparc/dbri.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sound/sparc/dbri.c b/sound/sparc/dbri.c index ae35f5342e1..75e6016d3ef 100644 --- a/sound/sparc/dbri.c +++ b/sound/sparc/dbri.c | |||
@@ -745,7 +745,7 @@ static void dbri_reset(struct snd_dbri *dbri) | |||
745 | } | 745 | } |
746 | 746 | ||
747 | /* Lock must not be held before calling this */ | 747 | /* Lock must not be held before calling this */ |
748 | static void __devinit dbri_initialize(struct snd_dbri *dbri) | 748 | static void dbri_initialize(struct snd_dbri *dbri) |
749 | { | 749 | { |
750 | s32 *cmd; | 750 | s32 *cmd; |
751 | u32 dma_addr; | 751 | u32 dma_addr; |
@@ -1305,7 +1305,7 @@ to the DBRI via the CHI interface and few of the DBRI's PIO pins. | |||
1305 | * Lock must not be held before calling it. | 1305 | * Lock must not be held before calling it. |
1306 | 1306 | ||
1307 | */ | 1307 | */ |
1308 | static __devinit void cs4215_setup_pipes(struct snd_dbri *dbri) | 1308 | static void cs4215_setup_pipes(struct snd_dbri *dbri) |
1309 | { | 1309 | { |
1310 | unsigned long flags; | 1310 | unsigned long flags; |
1311 | 1311 | ||
@@ -1338,7 +1338,7 @@ static __devinit void cs4215_setup_pipes(struct snd_dbri *dbri) | |||
1338 | dbri_cmdwait(dbri); | 1338 | dbri_cmdwait(dbri); |
1339 | } | 1339 | } |
1340 | 1340 | ||
1341 | static __devinit int cs4215_init_data(struct cs4215 *mm) | 1341 | static int cs4215_init_data(struct cs4215 *mm) |
1342 | { | 1342 | { |
1343 | /* | 1343 | /* |
1344 | * No action, memory resetting only. | 1344 | * No action, memory resetting only. |
@@ -1630,7 +1630,7 @@ static int cs4215_prepare(struct snd_dbri *dbri, unsigned int rate, | |||
1630 | /* | 1630 | /* |
1631 | * | 1631 | * |
1632 | */ | 1632 | */ |
1633 | static __devinit int cs4215_init(struct snd_dbri *dbri) | 1633 | static int cs4215_init(struct snd_dbri *dbri) |
1634 | { | 1634 | { |
1635 | u32 reg2 = sbus_readl(dbri->regs + REG2); | 1635 | u32 reg2 = sbus_readl(dbri->regs + REG2); |
1636 | dprintk(D_MM, "cs4215_init: reg2=0x%x\n", reg2); | 1636 | dprintk(D_MM, "cs4215_init: reg2=0x%x\n", reg2); |
@@ -2217,7 +2217,7 @@ static struct snd_pcm_ops snd_dbri_ops = { | |||
2217 | .pointer = snd_dbri_pointer, | 2217 | .pointer = snd_dbri_pointer, |
2218 | }; | 2218 | }; |
2219 | 2219 | ||
2220 | static int __devinit snd_dbri_pcm(struct snd_card *card) | 2220 | static int snd_dbri_pcm(struct snd_card *card) |
2221 | { | 2221 | { |
2222 | struct snd_pcm *pcm; | 2222 | struct snd_pcm *pcm; |
2223 | int err; | 2223 | int err; |
@@ -2409,7 +2409,7 @@ static int snd_cs4215_put_single(struct snd_kcontrol *kcontrol, | |||
2409 | .private_value = (entry) | ((shift) << 8) | ((mask) << 16) | \ | 2409 | .private_value = (entry) | ((shift) << 8) | ((mask) << 16) | \ |
2410 | ((invert) << 24) }, | 2410 | ((invert) << 24) }, |
2411 | 2411 | ||
2412 | static struct snd_kcontrol_new dbri_controls[] __devinitdata = { | 2412 | static struct snd_kcontrol_new dbri_controls[] = { |
2413 | { | 2413 | { |
2414 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 2414 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
2415 | .name = "Playback Volume", | 2415 | .name = "Playback Volume", |
@@ -2436,7 +2436,7 @@ static struct snd_kcontrol_new dbri_controls[] __devinitdata = { | |||
2436 | CS4215_SINGLE("Mic boost", 4, 4, 1, 1) | 2436 | CS4215_SINGLE("Mic boost", 4, 4, 1, 1) |
2437 | }; | 2437 | }; |
2438 | 2438 | ||
2439 | static int __devinit snd_dbri_mixer(struct snd_card *card) | 2439 | static int snd_dbri_mixer(struct snd_card *card) |
2440 | { | 2440 | { |
2441 | int idx, err; | 2441 | int idx, err; |
2442 | struct snd_dbri *dbri; | 2442 | struct snd_dbri *dbri; |
@@ -2500,7 +2500,7 @@ static void dbri_debug_read(struct snd_info_entry *entry, | |||
2500 | } | 2500 | } |
2501 | #endif | 2501 | #endif |
2502 | 2502 | ||
2503 | static void __devinit snd_dbri_proc(struct snd_card *card) | 2503 | static void snd_dbri_proc(struct snd_card *card) |
2504 | { | 2504 | { |
2505 | struct snd_dbri *dbri = card->private_data; | 2505 | struct snd_dbri *dbri = card->private_data; |
2506 | struct snd_info_entry *entry; | 2506 | struct snd_info_entry *entry; |
@@ -2523,9 +2523,9 @@ static void __devinit snd_dbri_proc(struct snd_card *card) | |||
2523 | */ | 2523 | */ |
2524 | static void snd_dbri_free(struct snd_dbri *dbri); | 2524 | static void snd_dbri_free(struct snd_dbri *dbri); |
2525 | 2525 | ||
2526 | static int __devinit snd_dbri_create(struct snd_card *card, | 2526 | static int snd_dbri_create(struct snd_card *card, |
2527 | struct platform_device *op, | 2527 | struct platform_device *op, |
2528 | int irq, int dev) | 2528 | int irq, int dev) |
2529 | { | 2529 | { |
2530 | struct snd_dbri *dbri = card->private_data; | 2530 | struct snd_dbri *dbri = card->private_data; |
2531 | int err; | 2531 | int err; |
@@ -2593,7 +2593,7 @@ static void snd_dbri_free(struct snd_dbri *dbri) | |||
2593 | (void *)dbri->dma, dbri->dma_dvma); | 2593 | (void *)dbri->dma, dbri->dma_dvma); |
2594 | } | 2594 | } |
2595 | 2595 | ||
2596 | static int __devinit dbri_probe(struct platform_device *op) | 2596 | static int dbri_probe(struct platform_device *op) |
2597 | { | 2597 | { |
2598 | struct snd_dbri *dbri; | 2598 | struct snd_dbri *dbri; |
2599 | struct resource *rp; | 2599 | struct resource *rp; |
@@ -2663,7 +2663,7 @@ _err: | |||
2663 | return err; | 2663 | return err; |
2664 | } | 2664 | } |
2665 | 2665 | ||
2666 | static int __devexit dbri_remove(struct platform_device *op) | 2666 | static int dbri_remove(struct platform_device *op) |
2667 | { | 2667 | { |
2668 | struct snd_card *card = dev_get_drvdata(&op->dev); | 2668 | struct snd_card *card = dev_get_drvdata(&op->dev); |
2669 | 2669 | ||
@@ -2694,7 +2694,7 @@ static struct platform_driver dbri_sbus_driver = { | |||
2694 | .of_match_table = dbri_match, | 2694 | .of_match_table = dbri_match, |
2695 | }, | 2695 | }, |
2696 | .probe = dbri_probe, | 2696 | .probe = dbri_probe, |
2697 | .remove = __devexit_p(dbri_remove), | 2697 | .remove = dbri_remove, |
2698 | }; | 2698 | }; |
2699 | 2699 | ||
2700 | module_platform_driver(dbri_sbus_driver); | 2700 | module_platform_driver(dbri_sbus_driver); |