diff options
-rw-r--r-- | arch/sparc/include/asm/unistd.h | 4 | ||||
-rw-r--r-- | arch/sparc/kernel/of_device_64.c | 3 | ||||
-rw-r--r-- | arch/sparc/kernel/pci_fire.c | 4 | ||||
-rw-r--r-- | arch/sparc/kernel/pci_psycho.c | 8 | ||||
-rw-r--r-- | arch/sparc/kernel/pci_sabre.c | 8 | ||||
-rw-r--r-- | arch/sparc/kernel/pci_sun4v.c | 14 | ||||
-rw-r--r-- | arch/sparc/kernel/power.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/systbls_32.S | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/systbls_64.S | 4 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.c | 8 | ||||
-rw-r--r-- | drivers/serial/sunsu.c | 2 | ||||
-rw-r--r-- | sound/sparc/cs4231.c | 28 |
12 files changed, 44 insertions, 43 deletions
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h index 031f038b19f7..b8eb71ef3163 100644 --- a/arch/sparc/include/asm/unistd.h +++ b/arch/sparc/include/asm/unistd.h | |||
@@ -392,8 +392,10 @@ | |||
392 | #define __NR_pipe2 321 | 392 | #define __NR_pipe2 321 |
393 | #define __NR_inotify_init1 322 | 393 | #define __NR_inotify_init1 322 |
394 | #define __NR_accept4 323 | 394 | #define __NR_accept4 323 |
395 | #define __NR_preadv 324 | ||
396 | #define __NR_pwritev 325 | ||
395 | 397 | ||
396 | #define NR_SYSCALLS 324 | 398 | #define NR_SYSCALLS 326 |
397 | 399 | ||
398 | #ifdef __32bit_syscall_numbers__ | 400 | #ifdef __32bit_syscall_numbers__ |
399 | /* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, | 401 | /* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, |
diff --git a/arch/sparc/kernel/of_device_64.c b/arch/sparc/kernel/of_device_64.c index b4a12c9aa5f8..27381f1baffc 100644 --- a/arch/sparc/kernel/of_device_64.c +++ b/arch/sparc/kernel/of_device_64.c | |||
@@ -99,8 +99,7 @@ static inline u64 of_read_addr(const u32 *cell, int size) | |||
99 | return r; | 99 | return r; |
100 | } | 100 | } |
101 | 101 | ||
102 | static void __init get_cells(struct device_node *dp, | 102 | static void get_cells(struct device_node *dp, int *addrc, int *sizec) |
103 | int *addrc, int *sizec) | ||
104 | { | 103 | { |
105 | if (addrc) | 104 | if (addrc) |
106 | *addrc = of_n_addr_cells(dp); | 105 | *addrc = of_n_addr_cells(dp); |
diff --git a/arch/sparc/kernel/pci_fire.c b/arch/sparc/kernel/pci_fire.c index 9462b68f4894..d53f45bc7dda 100644 --- a/arch/sparc/kernel/pci_fire.c +++ b/arch/sparc/kernel/pci_fire.c | |||
@@ -409,8 +409,8 @@ static void pci_fire_hw_init(struct pci_pbm_info *pbm) | |||
409 | upa_writeq(~(u64)0, pbm->pbm_regs + FIRE_PEC_IENAB); | 409 | upa_writeq(~(u64)0, pbm->pbm_regs + FIRE_PEC_IENAB); |
410 | } | 410 | } |
411 | 411 | ||
412 | static int __init pci_fire_pbm_init(struct pci_pbm_info *pbm, | 412 | static int __devinit pci_fire_pbm_init(struct pci_pbm_info *pbm, |
413 | struct of_device *op, u32 portid) | 413 | struct of_device *op, u32 portid) |
414 | { | 414 | { |
415 | const struct linux_prom64_registers *regs; | 415 | const struct linux_prom64_registers *regs; |
416 | struct device_node *dp = op->node; | 416 | struct device_node *dp = op->node; |
diff --git a/arch/sparc/kernel/pci_psycho.c b/arch/sparc/kernel/pci_psycho.c index 3b34344082ef..142b9d6984a8 100644 --- a/arch/sparc/kernel/pci_psycho.c +++ b/arch/sparc/kernel/pci_psycho.c | |||
@@ -365,8 +365,8 @@ static void pbm_config_busmastering(struct pci_pbm_info *pbm) | |||
365 | pci_config_write8(addr, 64); | 365 | pci_config_write8(addr, 64); |
366 | } | 366 | } |
367 | 367 | ||
368 | static void __init psycho_scan_bus(struct pci_pbm_info *pbm, | 368 | static void __devinit psycho_scan_bus(struct pci_pbm_info *pbm, |
369 | struct device *parent) | 369 | struct device *parent) |
370 | { | 370 | { |
371 | pbm_config_busmastering(pbm); | 371 | pbm_config_busmastering(pbm); |
372 | pbm->is_66mhz_capable = 0; | 372 | pbm->is_66mhz_capable = 0; |
@@ -482,8 +482,8 @@ static void psycho_pbm_strbuf_init(struct pci_pbm_info *pbm, | |||
482 | #define PSYCHO_MEMSPACE_B 0x180000000UL | 482 | #define PSYCHO_MEMSPACE_B 0x180000000UL |
483 | #define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL | 483 | #define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL |
484 | 484 | ||
485 | static void __init psycho_pbm_init(struct pci_pbm_info *pbm, | 485 | static void __devinit psycho_pbm_init(struct pci_pbm_info *pbm, |
486 | struct of_device *op, int is_pbm_a) | 486 | struct of_device *op, int is_pbm_a) |
487 | { | 487 | { |
488 | psycho_pbm_init_common(pbm, op, "PSYCHO", PBM_CHIP_TYPE_PSYCHO); | 488 | psycho_pbm_init_common(pbm, op, "PSYCHO", PBM_CHIP_TYPE_PSYCHO); |
489 | psycho_pbm_strbuf_init(pbm, is_pbm_a); | 489 | psycho_pbm_strbuf_init(pbm, is_pbm_a); |
diff --git a/arch/sparc/kernel/pci_sabre.c b/arch/sparc/kernel/pci_sabre.c index 713257b6963c..ba6fbeba3e2c 100644 --- a/arch/sparc/kernel/pci_sabre.c +++ b/arch/sparc/kernel/pci_sabre.c | |||
@@ -402,8 +402,8 @@ static void apb_init(struct pci_bus *sabre_bus) | |||
402 | } | 402 | } |
403 | } | 403 | } |
404 | 404 | ||
405 | static void __init sabre_scan_bus(struct pci_pbm_info *pbm, | 405 | static void __devinit sabre_scan_bus(struct pci_pbm_info *pbm, |
406 | struct device *parent) | 406 | struct device *parent) |
407 | { | 407 | { |
408 | static int once; | 408 | static int once; |
409 | 409 | ||
@@ -442,8 +442,8 @@ static void __init sabre_scan_bus(struct pci_pbm_info *pbm, | |||
442 | sabre_register_error_handlers(pbm); | 442 | sabre_register_error_handlers(pbm); |
443 | } | 443 | } |
444 | 444 | ||
445 | static void __init sabre_pbm_init(struct pci_pbm_info *pbm, | 445 | static void __devinit sabre_pbm_init(struct pci_pbm_info *pbm, |
446 | struct of_device *op) | 446 | struct of_device *op) |
447 | { | 447 | { |
448 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); | 448 | psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); |
449 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; | 449 | pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; |
diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c index 0ef0ab3d4763..5db5ebed35da 100644 --- a/arch/sparc/kernel/pci_sun4v.c +++ b/arch/sparc/kernel/pci_sun4v.c | |||
@@ -545,8 +545,8 @@ static const struct dma_ops sun4v_dma_ops = { | |||
545 | .sync_sg_for_cpu = dma_4v_sync_sg_for_cpu, | 545 | .sync_sg_for_cpu = dma_4v_sync_sg_for_cpu, |
546 | }; | 546 | }; |
547 | 547 | ||
548 | static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm, | 548 | static void __devinit pci_sun4v_scan_bus(struct pci_pbm_info *pbm, |
549 | struct device *parent) | 549 | struct device *parent) |
550 | { | 550 | { |
551 | struct property *prop; | 551 | struct property *prop; |
552 | struct device_node *dp; | 552 | struct device_node *dp; |
@@ -559,8 +559,8 @@ static void __init pci_sun4v_scan_bus(struct pci_pbm_info *pbm, | |||
559 | /* XXX register error interrupt handlers XXX */ | 559 | /* XXX register error interrupt handlers XXX */ |
560 | } | 560 | } |
561 | 561 | ||
562 | static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm, | 562 | static unsigned long __devinit probe_existing_entries(struct pci_pbm_info *pbm, |
563 | struct iommu *iommu) | 563 | struct iommu *iommu) |
564 | { | 564 | { |
565 | struct iommu_arena *arena = &iommu->arena; | 565 | struct iommu_arena *arena = &iommu->arena; |
566 | unsigned long i, cnt = 0; | 566 | unsigned long i, cnt = 0; |
@@ -587,7 +587,7 @@ static unsigned long __init probe_existing_entries(struct pci_pbm_info *pbm, | |||
587 | return cnt; | 587 | return cnt; |
588 | } | 588 | } |
589 | 589 | ||
590 | static int __init pci_sun4v_iommu_init(struct pci_pbm_info *pbm) | 590 | static int __devinit pci_sun4v_iommu_init(struct pci_pbm_info *pbm) |
591 | { | 591 | { |
592 | static const u32 vdma_default[] = { 0x80000000, 0x80000000 }; | 592 | static const u32 vdma_default[] = { 0x80000000, 0x80000000 }; |
593 | struct iommu *iommu = pbm->iommu; | 593 | struct iommu *iommu = pbm->iommu; |
@@ -889,8 +889,8 @@ static void pci_sun4v_msi_init(struct pci_pbm_info *pbm) | |||
889 | } | 889 | } |
890 | #endif /* !(CONFIG_PCI_MSI) */ | 890 | #endif /* !(CONFIG_PCI_MSI) */ |
891 | 891 | ||
892 | static int __init pci_sun4v_pbm_init(struct pci_pbm_info *pbm, | 892 | static int __devinit pci_sun4v_pbm_init(struct pci_pbm_info *pbm, |
893 | struct of_device *op, u32 devhandle) | 893 | struct of_device *op, u32 devhandle) |
894 | { | 894 | { |
895 | struct device_node *dp = op->node; | 895 | struct device_node *dp = op->node; |
896 | int err; | 896 | int err; |
diff --git a/arch/sparc/kernel/power.c b/arch/sparc/kernel/power.c index ae88f06a7ec4..e2a045c235a1 100644 --- a/arch/sparc/kernel/power.c +++ b/arch/sparc/kernel/power.c | |||
@@ -23,7 +23,7 @@ static irqreturn_t power_handler(int irq, void *dev_id) | |||
23 | return IRQ_HANDLED; | 23 | return IRQ_HANDLED; |
24 | } | 24 | } |
25 | 25 | ||
26 | static int __init has_button_interrupt(unsigned int irq, struct device_node *dp) | 26 | static int __devinit has_button_interrupt(unsigned int irq, struct device_node *dp) |
27 | { | 27 | { |
28 | if (irq == 0xffffffff) | 28 | if (irq == 0xffffffff) |
29 | return 0; | 29 | return 0; |
diff --git a/arch/sparc/kernel/systbls_32.S b/arch/sparc/kernel/systbls_32.S index dccc95df0c7f..00ec3b15f38c 100644 --- a/arch/sparc/kernel/systbls_32.S +++ b/arch/sparc/kernel/systbls_32.S | |||
@@ -81,4 +81,4 @@ sys_call_table: | |||
81 | /*305*/ .long sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait | 81 | /*305*/ .long sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait |
82 | /*310*/ .long sys_utimensat, sys_signalfd, sys_timerfd_create, sys_eventfd, sys_fallocate | 82 | /*310*/ .long sys_utimensat, sys_signalfd, sys_timerfd_create, sys_eventfd, sys_fallocate |
83 | /*315*/ .long sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1 | 83 | /*315*/ .long sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1 |
84 | /*320*/ .long sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4 | 84 | /*320*/ .long sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv, sys_pwritev |
diff --git a/arch/sparc/kernel/systbls_64.S b/arch/sparc/kernel/systbls_64.S index a8000b1cda74..82b5bf85b9d2 100644 --- a/arch/sparc/kernel/systbls_64.S +++ b/arch/sparc/kernel/systbls_64.S | |||
@@ -82,7 +82,7 @@ sys_call_table32: | |||
82 | .word compat_sys_set_mempolicy, compat_sys_kexec_load, compat_sys_move_pages, sys_getcpu, compat_sys_epoll_pwait | 82 | .word compat_sys_set_mempolicy, compat_sys_kexec_load, compat_sys_move_pages, sys_getcpu, compat_sys_epoll_pwait |
83 | /*310*/ .word compat_sys_utimensat, compat_sys_signalfd, sys_timerfd_create, sys_eventfd, compat_sys_fallocate | 83 | /*310*/ .word compat_sys_utimensat, compat_sys_signalfd, sys_timerfd_create, sys_eventfd, compat_sys_fallocate |
84 | .word compat_sys_timerfd_settime, compat_sys_timerfd_gettime, compat_sys_signalfd4, sys_eventfd2, sys_epoll_create1 | 84 | .word compat_sys_timerfd_settime, compat_sys_timerfd_gettime, compat_sys_signalfd4, sys_eventfd2, sys_epoll_create1 |
85 | /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4 | 85 | /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, compat_sys_preadv, compat_sys_pwritev |
86 | 86 | ||
87 | #endif /* CONFIG_COMPAT */ | 87 | #endif /* CONFIG_COMPAT */ |
88 | 88 | ||
@@ -156,4 +156,4 @@ sys_call_table: | |||
156 | .word sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait | 156 | .word sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait |
157 | /*310*/ .word sys_utimensat, sys_signalfd, sys_timerfd_create, sys_eventfd, sys_fallocate | 157 | /*310*/ .word sys_utimensat, sys_signalfd, sys_timerfd_create, sys_eventfd, sys_fallocate |
158 | .word sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1 | 158 | .word sys_timerfd_settime, sys_timerfd_gettime, sys_signalfd4, sys_eventfd2, sys_epoll_create1 |
159 | /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4 | 159 | /*320*/ .word sys_dup3, sys_pipe2, sys_inotify_init1, sys_accept4, sys_preadv, sys_pwritev |
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 2c8dfeb7ab04..f26a352c08a0 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -70,8 +70,8 @@ extern struct tsb swapper_4m_tsb[KERNEL_TSB4M_NENTRIES]; | |||
70 | 70 | ||
71 | #define MAX_BANKS 32 | 71 | #define MAX_BANKS 32 |
72 | 72 | ||
73 | static struct linux_prom64_registers pavail[MAX_BANKS] __initdata; | 73 | static struct linux_prom64_registers pavail[MAX_BANKS] __devinitdata; |
74 | static int pavail_ents __initdata; | 74 | static int pavail_ents __devinitdata; |
75 | 75 | ||
76 | static int cmp_p64(const void *a, const void *b) | 76 | static int cmp_p64(const void *a, const void *b) |
77 | { | 77 | { |
@@ -968,7 +968,7 @@ int of_node_to_nid(struct device_node *dp) | |||
968 | return nid; | 968 | return nid; |
969 | } | 969 | } |
970 | 970 | ||
971 | static void add_node_ranges(void) | 971 | static void __init add_node_ranges(void) |
972 | { | 972 | { |
973 | int i; | 973 | int i; |
974 | 974 | ||
@@ -1841,7 +1841,7 @@ void __init paging_init(void) | |||
1841 | printk("Booting Linux...\n"); | 1841 | printk("Booting Linux...\n"); |
1842 | } | 1842 | } |
1843 | 1843 | ||
1844 | int __init page_in_phys_avail(unsigned long paddr) | 1844 | int __devinit page_in_phys_avail(unsigned long paddr) |
1845 | { | 1845 | { |
1846 | int i; | 1846 | int i; |
1847 | 1847 | ||
diff --git a/drivers/serial/sunsu.c b/drivers/serial/sunsu.c index a4dc79b1d7ab..47c6837850b1 100644 --- a/drivers/serial/sunsu.c +++ b/drivers/serial/sunsu.c | |||
@@ -1178,7 +1178,7 @@ static struct uart_driver sunsu_reg = { | |||
1178 | .major = TTY_MAJOR, | 1178 | .major = TTY_MAJOR, |
1179 | }; | 1179 | }; |
1180 | 1180 | ||
1181 | static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up) | 1181 | static int __devinit sunsu_kbd_ms_init(struct uart_sunsu_port *up) |
1182 | { | 1182 | { |
1183 | int quot, baud; | 1183 | int quot, baud; |
1184 | #ifdef CONFIG_SERIO | 1184 | #ifdef CONFIG_SERIO |
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c index 7d93fa705ccf..8d13d933087d 100644 --- a/sound/sparc/cs4231.c +++ b/sound/sparc/cs4231.c | |||
@@ -703,7 +703,7 @@ static int snd_cs4231_timer_stop(struct snd_timer *timer) | |||
703 | return 0; | 703 | return 0; |
704 | } | 704 | } |
705 | 705 | ||
706 | static void __init snd_cs4231_init(struct snd_cs4231 *chip) | 706 | static void __devinit snd_cs4231_init(struct snd_cs4231 *chip) |
707 | { | 707 | { |
708 | unsigned long flags; | 708 | unsigned long flags; |
709 | 709 | ||
@@ -1020,7 +1020,7 @@ static snd_pcm_uframes_t snd_cs4231_capture_pointer( | |||
1020 | return bytes_to_frames(substream->runtime, ptr); | 1020 | return bytes_to_frames(substream->runtime, ptr); |
1021 | } | 1021 | } |
1022 | 1022 | ||
1023 | static int __init snd_cs4231_probe(struct snd_cs4231 *chip) | 1023 | static int __devinit snd_cs4231_probe(struct snd_cs4231 *chip) |
1024 | { | 1024 | { |
1025 | unsigned long flags; | 1025 | unsigned long flags; |
1026 | int i; | 1026 | int i; |
@@ -1219,7 +1219,7 @@ static struct snd_pcm_ops snd_cs4231_capture_ops = { | |||
1219 | .pointer = snd_cs4231_capture_pointer, | 1219 | .pointer = snd_cs4231_capture_pointer, |
1220 | }; | 1220 | }; |
1221 | 1221 | ||
1222 | static int __init snd_cs4231_pcm(struct snd_card *card) | 1222 | static int __devinit snd_cs4231_pcm(struct snd_card *card) |
1223 | { | 1223 | { |
1224 | struct snd_cs4231 *chip = card->private_data; | 1224 | struct snd_cs4231 *chip = card->private_data; |
1225 | struct snd_pcm *pcm; | 1225 | struct snd_pcm *pcm; |
@@ -1248,7 +1248,7 @@ static int __init snd_cs4231_pcm(struct snd_card *card) | |||
1248 | return 0; | 1248 | return 0; |
1249 | } | 1249 | } |
1250 | 1250 | ||
1251 | static int __init snd_cs4231_timer(struct snd_card *card) | 1251 | static int __devinit snd_cs4231_timer(struct snd_card *card) |
1252 | { | 1252 | { |
1253 | struct snd_cs4231 *chip = card->private_data; | 1253 | struct snd_cs4231 *chip = card->private_data; |
1254 | struct snd_timer *timer; | 1254 | struct snd_timer *timer; |
@@ -1499,7 +1499,7 @@ static int snd_cs4231_put_double(struct snd_kcontrol *kcontrol, | |||
1499 | .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \ | 1499 | .private_value = (left_reg) | ((right_reg) << 8) | ((shift_left) << 16) | \ |
1500 | ((shift_right) << 19) | ((mask) << 24) | ((invert) << 22) } | 1500 | ((shift_right) << 19) | ((mask) << 24) | ((invert) << 22) } |
1501 | 1501 | ||
1502 | static struct snd_kcontrol_new snd_cs4231_controls[] __initdata = { | 1502 | static struct snd_kcontrol_new snd_cs4231_controls[] __devinitdata = { |
1503 | CS4231_DOUBLE("PCM Playback Switch", 0, CS4231_LEFT_OUTPUT, | 1503 | CS4231_DOUBLE("PCM Playback Switch", 0, CS4231_LEFT_OUTPUT, |
1504 | CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), | 1504 | CS4231_RIGHT_OUTPUT, 7, 7, 1, 1), |
1505 | CS4231_DOUBLE("PCM Playback Volume", 0, CS4231_LEFT_OUTPUT, | 1505 | CS4231_DOUBLE("PCM Playback Volume", 0, CS4231_LEFT_OUTPUT, |
@@ -1538,7 +1538,7 @@ CS4231_SINGLE("Line Out Switch", 0, CS4231_PIN_CTRL, 6, 1, 1), | |||
1538 | CS4231_SINGLE("Headphone Out Switch", 0, CS4231_PIN_CTRL, 7, 1, 1) | 1538 | CS4231_SINGLE("Headphone Out Switch", 0, CS4231_PIN_CTRL, 7, 1, 1) |
1539 | }; | 1539 | }; |
1540 | 1540 | ||
1541 | static int __init snd_cs4231_mixer(struct snd_card *card) | 1541 | static int __devinit snd_cs4231_mixer(struct snd_card *card) |
1542 | { | 1542 | { |
1543 | struct snd_cs4231 *chip = card->private_data; | 1543 | struct snd_cs4231 *chip = card->private_data; |
1544 | int err, idx; | 1544 | int err, idx; |
@@ -1559,7 +1559,7 @@ static int __init snd_cs4231_mixer(struct snd_card *card) | |||
1559 | 1559 | ||
1560 | static int dev; | 1560 | static int dev; |
1561 | 1561 | ||
1562 | static int __init cs4231_attach_begin(struct snd_card **rcard) | 1562 | static int __devinit cs4231_attach_begin(struct snd_card **rcard) |
1563 | { | 1563 | { |
1564 | struct snd_card *card; | 1564 | struct snd_card *card; |
1565 | struct snd_cs4231 *chip; | 1565 | struct snd_cs4231 *chip; |
@@ -1590,7 +1590,7 @@ static int __init cs4231_attach_begin(struct snd_card **rcard) | |||
1590 | return 0; | 1590 | return 0; |
1591 | } | 1591 | } |
1592 | 1592 | ||
1593 | static int __init cs4231_attach_finish(struct snd_card *card) | 1593 | static int __devinit cs4231_attach_finish(struct snd_card *card) |
1594 | { | 1594 | { |
1595 | struct snd_cs4231 *chip = card->private_data; | 1595 | struct snd_cs4231 *chip = card->private_data; |
1596 | int err; | 1596 | int err; |
@@ -1794,9 +1794,9 @@ static struct snd_device_ops snd_cs4231_sbus_dev_ops = { | |||
1794 | .dev_free = snd_cs4231_sbus_dev_free, | 1794 | .dev_free = snd_cs4231_sbus_dev_free, |
1795 | }; | 1795 | }; |
1796 | 1796 | ||
1797 | static int __init snd_cs4231_sbus_create(struct snd_card *card, | 1797 | static int __devinit snd_cs4231_sbus_create(struct snd_card *card, |
1798 | struct of_device *op, | 1798 | struct of_device *op, |
1799 | int dev) | 1799 | int dev) |
1800 | { | 1800 | { |
1801 | struct snd_cs4231 *chip = card->private_data; | 1801 | struct snd_cs4231 *chip = card->private_data; |
1802 | int err; | 1802 | int err; |
@@ -1960,9 +1960,9 @@ static struct snd_device_ops snd_cs4231_ebus_dev_ops = { | |||
1960 | .dev_free = snd_cs4231_ebus_dev_free, | 1960 | .dev_free = snd_cs4231_ebus_dev_free, |
1961 | }; | 1961 | }; |
1962 | 1962 | ||
1963 | static int __init snd_cs4231_ebus_create(struct snd_card *card, | 1963 | static int __devinit snd_cs4231_ebus_create(struct snd_card *card, |
1964 | struct of_device *op, | 1964 | struct of_device *op, |
1965 | int dev) | 1965 | int dev) |
1966 | { | 1966 | { |
1967 | struct snd_cs4231 *chip = card->private_data; | 1967 | struct snd_cs4231 *chip = card->private_data; |
1968 | int err; | 1968 | int err; |