diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-06-23 05:04:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:42:55 -0400 |
commit | 576132b42647e3facd28e3148a20307fadfd9afc (patch) | |
tree | 3e986e0838df9c11d17a50c06a3a7d0fd9119006 /arch/frv | |
parent | 53470aaa02ef3c83187f1ffe0d2cb647274fe397 (diff) |
[PATCH] frv: misc sparse annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/irq-routing.c | 8 | ||||
-rw-r--r-- | arch/frv/mb93090-mb00/pci-irq.c | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/arch/frv/kernel/irq-routing.c b/arch/frv/kernel/irq-routing.c index d4776d1f4e82..b90b70a761d1 100644 --- a/arch/frv/kernel/irq-routing.c +++ b/arch/frv/kernel/irq-routing.c | |||
@@ -112,7 +112,7 @@ struct irq_source frv_cpuuart[2] = { | |||
112 | #define __CPUUART(X, A) \ | 112 | #define __CPUUART(X, A) \ |
113 | [X] = { \ | 113 | [X] = { \ |
114 | .muxname = "uart", \ | 114 | .muxname = "uart", \ |
115 | .muxdata = (volatile void __iomem *) A, \ | 115 | .muxdata = (volatile void __iomem *)(unsigned long)A,\ |
116 | .irqmask = 1 << IRQ_CPU_UART##X, \ | 116 | .irqmask = 1 << IRQ_CPU_UART##X, \ |
117 | .doirq = frv_cpuuart_doirq, \ | 117 | .doirq = frv_cpuuart_doirq, \ |
118 | } | 118 | } |
@@ -136,7 +136,7 @@ struct irq_source frv_cpudma[8] = { | |||
136 | #define __CPUDMA(X, A) \ | 136 | #define __CPUDMA(X, A) \ |
137 | [X] = { \ | 137 | [X] = { \ |
138 | .muxname = "dma", \ | 138 | .muxname = "dma", \ |
139 | .muxdata = (volatile void __iomem *) A, \ | 139 | .muxdata = (volatile void __iomem *)(unsigned long)A,\ |
140 | .irqmask = 1 << IRQ_CPU_DMA##X, \ | 140 | .irqmask = 1 << IRQ_CPU_DMA##X, \ |
141 | .doirq = frv_cpudma_doirq, \ | 141 | .doirq = frv_cpudma_doirq, \ |
142 | } | 142 | } |
@@ -164,7 +164,7 @@ struct irq_source frv_cputimer[3] = { | |||
164 | #define __CPUTIMER(X) \ | 164 | #define __CPUTIMER(X) \ |
165 | [X] = { \ | 165 | [X] = { \ |
166 | .muxname = "timer", \ | 166 | .muxname = "timer", \ |
167 | .muxdata = 0, \ | 167 | .muxdata = NULL, \ |
168 | .irqmask = 1 << IRQ_CPU_TIMER##X, \ | 168 | .irqmask = 1 << IRQ_CPU_TIMER##X, \ |
169 | .doirq = frv_cputimer_doirq, \ | 169 | .doirq = frv_cputimer_doirq, \ |
170 | } | 170 | } |
@@ -187,7 +187,7 @@ struct irq_source frv_cpuexternal[8] = { | |||
187 | #define __CPUEXTERNAL(X) \ | 187 | #define __CPUEXTERNAL(X) \ |
188 | [X] = { \ | 188 | [X] = { \ |
189 | .muxname = "ext", \ | 189 | .muxname = "ext", \ |
190 | .muxdata = 0, \ | 190 | .muxdata = NULL, \ |
191 | .irqmask = 1 << IRQ_CPU_EXTERNAL##X, \ | 191 | .irqmask = 1 << IRQ_CPU_EXTERNAL##X, \ |
192 | .doirq = frv_cpuexternal_doirq, \ | 192 | .doirq = frv_cpuexternal_doirq, \ |
193 | } | 193 | } |
diff --git a/arch/frv/mb93090-mb00/pci-irq.c b/arch/frv/mb93090-mb00/pci-irq.c index c4a1144c98b0..45ae39d84b69 100644 --- a/arch/frv/mb93090-mb00/pci-irq.c +++ b/arch/frv/mb93090-mb00/pci-irq.c | |||
@@ -32,11 +32,11 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | static const uint8_t __initdata pci_bus0_irq_routing[32][4] = { | 34 | static const uint8_t __initdata pci_bus0_irq_routing[32][4] = { |
35 | [0 ] { IRQ_FPGA_MB86943_PCI_INTA }, | 35 | [0 ] = { IRQ_FPGA_MB86943_PCI_INTA }, |
36 | [16] { IRQ_FPGA_RTL8029_INTA }, | 36 | [16] = { IRQ_FPGA_RTL8029_INTA }, |
37 | [17] { IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB }, | 37 | [17] = { IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB }, |
38 | [18] { IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA }, | 38 | [18] = { IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD, IRQ_FPGA_PCI_INTA }, |
39 | [19] { IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD }, | 39 | [19] = { IRQ_FPGA_PCI_INTA, IRQ_FPGA_PCI_INTB, IRQ_FPGA_PCI_INTC, IRQ_FPGA_PCI_INTD }, |
40 | }; | 40 | }; |
41 | 41 | ||
42 | void __init pcibios_irq_init(void) | 42 | void __init pcibios_irq_init(void) |