diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 10:58:21 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 10:58:21 -0400 |
commit | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (patch) | |
tree | 43b56238822ab35ec90a9ee9e9c014247950622f /arch/blackfin/mach-bf537 | |
parent | 669b792c77bbc30e9f4d9c95dbc918dc348c49c2 (diff) |
Blackfin arch: cleanup warnings from checkpatch -- no functional changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537.c | 16 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/eth_mac.c | 5 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/generic_board.c | 36 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 54 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 51 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/ints-priority.c | 2 |
6 files changed, 66 insertions, 98 deletions
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537.c b/arch/blackfin/mach-bf537/boards/cm_bf537.c index 6a60618a78ec..a8f947b72754 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/usb_isp1362.h> | 37 | #include <linux/usb_isp1362.h> |
38 | #include <asm/irq.h> | 38 | #include <linux/irq.h> |
39 | #include <asm/bfin5xx_spi.h> | 39 | #include <asm/bfin5xx_spi.h> |
40 | 40 | ||
41 | /* | 41 | /* |
@@ -53,11 +53,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
53 | .size = 0x00020000, | 53 | .size = 0x00020000, |
54 | .offset = 0, | 54 | .offset = 0, |
55 | .mask_flags = MTD_CAP_ROM | 55 | .mask_flags = MTD_CAP_ROM |
56 | },{ | 56 | }, { |
57 | .name = "kernel", | 57 | .name = "kernel", |
58 | .size = 0xe0000, | 58 | .size = 0xe0000, |
59 | .offset = 0x20000 | 59 | .offset = 0x20000 |
60 | },{ | 60 | }, { |
61 | .name = "file system", | 61 | .name = "file system", |
62 | .size = 0x700000, | 62 | .size = 0x700000, |
63 | .offset = 0x00100000, | 63 | .offset = 0x00100000, |
@@ -202,7 +202,7 @@ static struct resource smc91x_resources[] = { | |||
202 | .start = 0x20200300, | 202 | .start = 0x20200300, |
203 | .end = 0x20200300 + 16, | 203 | .end = 0x20200300 + 16, |
204 | .flags = IORESOURCE_MEM, | 204 | .flags = IORESOURCE_MEM, |
205 | },{ | 205 | }, { |
206 | .start = IRQ_PF14, | 206 | .start = IRQ_PF14, |
207 | .end = IRQ_PF14, | 207 | .end = IRQ_PF14, |
208 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 208 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -223,11 +223,11 @@ static struct resource isp1362_hcd_resources[] = { | |||
223 | .start = 0x20308000, | 223 | .start = 0x20308000, |
224 | .end = 0x20308000, | 224 | .end = 0x20308000, |
225 | .flags = IORESOURCE_MEM, | 225 | .flags = IORESOURCE_MEM, |
226 | },{ | 226 | }, { |
227 | .start = 0x20308004, | 227 | .start = 0x20308004, |
228 | .end = 0x20308004, | 228 | .end = 0x20308004, |
229 | .flags = IORESOURCE_MEM, | 229 | .flags = IORESOURCE_MEM, |
230 | },{ | 230 | }, { |
231 | .start = IRQ_PG15, | 231 | .start = IRQ_PG15, |
232 | .end = IRQ_PG15, | 232 | .end = IRQ_PG15, |
233 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 233 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -262,7 +262,7 @@ static struct resource net2272_bfin_resources[] = { | |||
262 | .start = 0x20200000, | 262 | .start = 0x20200000, |
263 | .end = 0x20200000 + 0x100, | 263 | .end = 0x20200000 + 0x100, |
264 | .flags = IORESOURCE_MEM, | 264 | .flags = IORESOURCE_MEM, |
265 | },{ | 265 | }, { |
266 | .start = IRQ_PF7, | 266 | .start = IRQ_PF7, |
267 | .end = IRQ_PF7, | 267 | .end = IRQ_PF7, |
268 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 268 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -283,7 +283,7 @@ static struct resource bfin_uart_resources[] = { | |||
283 | .start = 0xFFC00400, | 283 | .start = 0xFFC00400, |
284 | .end = 0xFFC004FF, | 284 | .end = 0xFFC004FF, |
285 | .flags = IORESOURCE_MEM, | 285 | .flags = IORESOURCE_MEM, |
286 | },{ | 286 | }, { |
287 | .start = 0xFFC02000, | 287 | .start = 0xFFC02000, |
288 | .end = 0xFFC020FF, | 288 | .end = 0xFFC020FF, |
289 | .flags = IORESOURCE_MEM, | 289 | .flags = IORESOURCE_MEM, |
diff --git a/arch/blackfin/mach-bf537/boards/eth_mac.c b/arch/blackfin/mach-bf537/boards/eth_mac.c index e129a08d63de..a725cc8a9290 100644 --- a/arch/blackfin/mach-bf537/boards/eth_mac.c +++ b/arch/blackfin/mach-bf537/boards/eth_mac.c | |||
@@ -20,8 +20,7 @@ | |||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <asm/blackfin.h> | 21 | #include <asm/blackfin.h> |
22 | 22 | ||
23 | #if defined(CONFIG_GENERIC_BOARD) \ | 23 | #if defined(CONFIG_GENERIC_BOARD) || defined(CONFIG_BFIN537_STAMP) |
24 | || defined(CONFIG_BFIN537_STAMP) | ||
25 | 24 | ||
26 | /* | 25 | /* |
27 | * Currently the MAC address is saved in Flash by U-Boot | 26 | * Currently the MAC address is saved in Flash by U-Boot |
@@ -43,7 +42,7 @@ void get_bf537_ether_addr(char *addr) | |||
43 | */ | 42 | */ |
44 | void get_bf537_ether_addr(char *addr) | 43 | void get_bf537_ether_addr(char *addr) |
45 | { | 44 | { |
46 | printk(KERN_WARNING "%s: No valid Ethernet MAC address found\n",__FILE__); | 45 | printk(KERN_WARNING "%s: No valid Ethernet MAC address found\n", __FILE__); |
47 | } | 46 | } |
48 | 47 | ||
49 | #endif | 48 | #endif |
diff --git a/arch/blackfin/mach-bf537/boards/generic_board.c b/arch/blackfin/mach-bf537/boards/generic_board.c index fd57e7439e0f..648d984e98d6 100644 --- a/arch/blackfin/mach-bf537/boards/generic_board.c +++ b/arch/blackfin/mach-bf537/boards/generic_board.c | |||
@@ -35,9 +35,9 @@ | |||
35 | #include <linux/spi/spi.h> | 35 | #include <linux/spi/spi.h> |
36 | #include <linux/spi/flash.h> | 36 | #include <linux/spi/flash.h> |
37 | #include <linux/usb_isp1362.h> | 37 | #include <linux/usb_isp1362.h> |
38 | #include <asm/irq.h> | 38 | #include <linux/irq.h> |
39 | #include <asm/bfin5xx_spi.h> | ||
40 | #include <linux/usb_sl811.h> | 39 | #include <linux/usb_sl811.h> |
40 | #include <asm/bfin5xx_spi.h> | ||
41 | 41 | ||
42 | /* | 42 | /* |
43 | * Name the Board for the /proc/cpuinfo | 43 | * Name the Board for the /proc/cpuinfo |
@@ -54,19 +54,19 @@ static struct resource bfin_pcmcia_cf_resources[] = { | |||
54 | .start = 0x20310000, /* IO PORT */ | 54 | .start = 0x20310000, /* IO PORT */ |
55 | .end = 0x20312000, | 55 | .end = 0x20312000, |
56 | .flags = IORESOURCE_MEM, | 56 | .flags = IORESOURCE_MEM, |
57 | },{ | 57 | }, { |
58 | .start = 0x20311000, /* Attribute Memory */ | 58 | .start = 0x20311000, /* Attribute Memory */ |
59 | .end = 0x20311FFF, | 59 | .end = 0x20311FFF, |
60 | .flags = IORESOURCE_MEM, | 60 | .flags = IORESOURCE_MEM, |
61 | },{ | 61 | }, { |
62 | .start = IRQ_PROG_INTA, | 62 | .start = IRQ_PROG_INTA, |
63 | .end = IRQ_PROG_INTA, | 63 | .end = IRQ_PROG_INTA, |
64 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 64 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
65 | },{ | 65 | }, { |
66 | .start = IRQ_PF4, | 66 | .start = IRQ_PF4, |
67 | .end = IRQ_PF4, | 67 | .end = IRQ_PF4, |
68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
69 | },{ | 69 | }, { |
70 | .start = 6, /* Card Detect PF6 */ | 70 | .start = 6, /* Card Detect PF6 */ |
71 | .end = 6, | 71 | .end = 6, |
72 | .flags = IORESOURCE_IRQ, | 72 | .flags = IORESOURCE_IRQ, |
@@ -95,11 +95,11 @@ static struct resource smc91x_resources[] = { | |||
95 | .start = 0x20300300, | 95 | .start = 0x20300300, |
96 | .end = 0x20300300 + 16, | 96 | .end = 0x20300300 + 16, |
97 | .flags = IORESOURCE_MEM, | 97 | .flags = IORESOURCE_MEM, |
98 | },{ | 98 | }, { |
99 | .start = IRQ_PROG_INTB, | 99 | .start = IRQ_PROG_INTB, |
100 | .end = IRQ_PROG_INTB, | 100 | .end = IRQ_PROG_INTB, |
101 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 101 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
102 | },{ | 102 | }, { |
103 | /* | 103 | /* |
104 | * denotes the flag pin and is used directly if | 104 | * denotes the flag pin and is used directly if |
105 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. | 105 | * CONFIG_IRQCHIP_DEMUX_GPIO is defined. |
@@ -123,15 +123,15 @@ static struct resource sl811_hcd_resources[] = { | |||
123 | .start = 0x20340000, | 123 | .start = 0x20340000, |
124 | .end = 0x20340000, | 124 | .end = 0x20340000, |
125 | .flags = IORESOURCE_MEM, | 125 | .flags = IORESOURCE_MEM, |
126 | },{ | 126 | }, { |
127 | .start = 0x20340004, | 127 | .start = 0x20340004, |
128 | .end = 0x20340004, | 128 | .end = 0x20340004, |
129 | .flags = IORESOURCE_MEM, | 129 | .flags = IORESOURCE_MEM, |
130 | },{ | 130 | }, { |
131 | .start = IRQ_PROG_INTA, | 131 | .start = IRQ_PROG_INTA, |
132 | .end = IRQ_PROG_INTA, | 132 | .end = IRQ_PROG_INTA, |
133 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 133 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
134 | },{ | 134 | }, { |
135 | .start = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, | 135 | .start = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, |
136 | .end = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, | 136 | .end = IRQ_PF0 + CONFIG_USB_SL811_BFIN_GPIO, |
137 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 137 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -179,15 +179,15 @@ static struct resource isp1362_hcd_resources[] = { | |||
179 | .start = 0x20360000, | 179 | .start = 0x20360000, |
180 | .end = 0x20360000, | 180 | .end = 0x20360000, |
181 | .flags = IORESOURCE_MEM, | 181 | .flags = IORESOURCE_MEM, |
182 | },{ | 182 | }, { |
183 | .start = 0x20360004, | 183 | .start = 0x20360004, |
184 | .end = 0x20360004, | 184 | .end = 0x20360004, |
185 | .flags = IORESOURCE_MEM, | 185 | .flags = IORESOURCE_MEM, |
186 | },{ | 186 | }, { |
187 | .start = IRQ_PROG_INTA, | 187 | .start = IRQ_PROG_INTA, |
188 | .end = IRQ_PROG_INTA, | 188 | .end = IRQ_PROG_INTA, |
189 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 189 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
190 | },{ | 190 | }, { |
191 | .start = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, | 191 | .start = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, |
192 | .end = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, | 192 | .end = IRQ_PF0 + CONFIG_USB_ISP1362_BFIN_GPIO, |
193 | .flags = IORESOURCE_IRQ, | 193 | .flags = IORESOURCE_IRQ, |
@@ -228,7 +228,7 @@ static struct resource net2272_bfin_resources[] = { | |||
228 | .start = 0x20300000, | 228 | .start = 0x20300000, |
229 | .end = 0x20300000 + 0x100, | 229 | .end = 0x20300000 + 0x100, |
230 | .flags = IORESOURCE_MEM, | 230 | .flags = IORESOURCE_MEM, |
231 | },{ | 231 | }, { |
232 | .start = IRQ_PF7, | 232 | .start = IRQ_PF7, |
233 | .end = IRQ_PF7, | 233 | .end = IRQ_PF7, |
234 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 234 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -253,11 +253,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
253 | .size = 0x00020000, | 253 | .size = 0x00020000, |
254 | .offset = 0, | 254 | .offset = 0, |
255 | .mask_flags = MTD_CAP_ROM | 255 | .mask_flags = MTD_CAP_ROM |
256 | },{ | 256 | }, { |
257 | .name = "kernel", | 257 | .name = "kernel", |
258 | .size = 0xe0000, | 258 | .size = 0xe0000, |
259 | .offset = 0x20000 | 259 | .offset = 0x20000 |
260 | },{ | 260 | }, { |
261 | .name = "file system", | 261 | .name = "file system", |
262 | .size = 0x700000, | 262 | .size = 0x700000, |
263 | .offset = 0x00100000, | 263 | .offset = 0x00100000, |
@@ -375,7 +375,7 @@ static struct resource bfin_uart_resources[] = { | |||
375 | .start = 0xFFC00400, | 375 | .start = 0xFFC00400, |
376 | .end = 0xFFC004FF, | 376 | .end = 0xFFC004FF, |
377 | .flags = IORESOURCE_MEM, | 377 | .flags = IORESOURCE_MEM, |
378 | },{ | 378 | }, { |
379 | .start = 0xFFC02000, | 379 | .start = 0xFFC02000, |
380 | .end = 0xFFC020FF, | 380 | .end = 0xFFC020FF, |
381 | .flags = IORESOURCE_MEM, | 381 | .flags = IORESOURCE_MEM, |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 8aaf76dfce80..8806f1230f2d 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <asm/irq.h> | 40 | #include <linux/irq.h> |
41 | #include <asm/bfin5xx_spi.h> | 41 | #include <asm/bfin5xx_spi.h> |
42 | #include <linux/usb_sl811.h> | 42 | #include <linux/usb_sl811.h> |
43 | 43 | ||
@@ -58,15 +58,15 @@ static struct resource bfin_pcmcia_cf_resources[] = { | |||
58 | .start = 0x20310000, /* IO PORT */ | 58 | .start = 0x20310000, /* IO PORT */ |
59 | .end = 0x20312000, | 59 | .end = 0x20312000, |
60 | .flags = IORESOURCE_MEM, | 60 | .flags = IORESOURCE_MEM, |
61 | },{ | 61 | }, { |
62 | .start = 0x20311000, /* Attribute Memory */ | 62 | .start = 0x20311000, /* Attribute Memory */ |
63 | .end = 0x20311FFF, | 63 | .end = 0x20311FFF, |
64 | .flags = IORESOURCE_MEM, | 64 | .flags = IORESOURCE_MEM, |
65 | },{ | 65 | }, { |
66 | .start = IRQ_PF4, | 66 | .start = IRQ_PF4, |
67 | .end = IRQ_PF4, | 67 | .end = IRQ_PF4, |
68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 68 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
69 | },{ | 69 | }, { |
70 | .start = 6, /* Card Detect PF6 */ | 70 | .start = 6, /* Card Detect PF6 */ |
71 | .end = 6, | 71 | .end = 6, |
72 | .flags = IORESOURCE_IRQ, | 72 | .flags = IORESOURCE_IRQ, |
@@ -95,7 +95,7 @@ static struct resource smc91x_resources[] = { | |||
95 | .start = 0x20300300, | 95 | .start = 0x20300300, |
96 | .end = 0x20300300 + 16, | 96 | .end = 0x20300300 + 16, |
97 | .flags = IORESOURCE_MEM, | 97 | .flags = IORESOURCE_MEM, |
98 | },{ | 98 | }, { |
99 | 99 | ||
100 | .start = IRQ_PF7, | 100 | .start = IRQ_PF7, |
101 | .end = IRQ_PF7, | 101 | .end = IRQ_PF7, |
@@ -116,11 +116,11 @@ static struct resource sl811_hcd_resources[] = { | |||
116 | .start = 0x20340000, | 116 | .start = 0x20340000, |
117 | .end = 0x20340000, | 117 | .end = 0x20340000, |
118 | .flags = IORESOURCE_MEM, | 118 | .flags = IORESOURCE_MEM, |
119 | },{ | 119 | }, { |
120 | .start = 0x20340004, | 120 | .start = 0x20340004, |
121 | .end = 0x20340004, | 121 | .end = 0x20340004, |
122 | .flags = IORESOURCE_MEM, | 122 | .flags = IORESOURCE_MEM, |
123 | },{ | 123 | }, { |
124 | .start = CONFIG_USB_SL811_BFIN_IRQ, | 124 | .start = CONFIG_USB_SL811_BFIN_IRQ, |
125 | .end = CONFIG_USB_SL811_BFIN_IRQ, | 125 | .end = CONFIG_USB_SL811_BFIN_IRQ, |
126 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 126 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -167,11 +167,11 @@ static struct resource isp1362_hcd_resources[] = { | |||
167 | .start = 0x20360000, | 167 | .start = 0x20360000, |
168 | .end = 0x20360000, | 168 | .end = 0x20360000, |
169 | .flags = IORESOURCE_MEM, | 169 | .flags = IORESOURCE_MEM, |
170 | },{ | 170 | }, { |
171 | .start = 0x20360004, | 171 | .start = 0x20360004, |
172 | .end = 0x20360004, | 172 | .end = 0x20360004, |
173 | .flags = IORESOURCE_MEM, | 173 | .flags = IORESOURCE_MEM, |
174 | },{ | 174 | }, { |
175 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 175 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
176 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 176 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
177 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 177 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -212,7 +212,7 @@ static struct resource net2272_bfin_resources[] = { | |||
212 | .start = 0x20300000, | 212 | .start = 0x20300000, |
213 | .end = 0x20300000 + 0x100, | 213 | .end = 0x20300000 + 0x100, |
214 | .flags = IORESOURCE_MEM, | 214 | .flags = IORESOURCE_MEM, |
215 | },{ | 215 | }, { |
216 | .start = IRQ_PF7, | 216 | .start = IRQ_PF7, |
217 | .end = IRQ_PF7, | 217 | .end = IRQ_PF7, |
218 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 218 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -238,11 +238,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
238 | .size = 0x00020000, | 238 | .size = 0x00020000, |
239 | .offset = 0, | 239 | .offset = 0, |
240 | .mask_flags = MTD_CAP_ROM | 240 | .mask_flags = MTD_CAP_ROM |
241 | },{ | 241 | }, { |
242 | .name = "kernel", | 242 | .name = "kernel", |
243 | .size = 0xe0000, | 243 | .size = 0xe0000, |
244 | .offset = 0x20000 | 244 | .offset = 0x20000 |
245 | },{ | 245 | }, { |
246 | .name = "file system", | 246 | .name = "file system", |
247 | .size = 0x700000, | 247 | .size = 0x700000, |
248 | .offset = 0x00100000, | 248 | .offset = 0x00100000, |
@@ -294,16 +294,6 @@ static struct bfin5xx_spi_chip spi_mmc_chip_info = { | |||
294 | }; | 294 | }; |
295 | #endif | 295 | #endif |
296 | 296 | ||
297 | #if defined(CONFIG_PBX) | ||
298 | static struct bfin5xx_spi_chip spi_si3xxx_chip_info = { | ||
299 | .ctl_reg = 0x4, /* send zero */ | ||
300 | .enable_dma = 0, | ||
301 | .bits_per_word = 8, | ||
302 | .cs_change_per_word = 1, | ||
303 | }; | ||
304 | #endif | ||
305 | |||
306 | |||
307 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 297 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
308 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 298 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
309 | .cs_change_per_word = 1, | 299 | .cs_change_per_word = 1, |
@@ -392,24 +382,6 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
392 | .mode = SPI_MODE_3, | 382 | .mode = SPI_MODE_3, |
393 | }, | 383 | }, |
394 | #endif | 384 | #endif |
395 | #if defined(CONFIG_PBX) | ||
396 | { | ||
397 | .modalias = "fxs-spi", | ||
398 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
399 | .bus_num = 1, | ||
400 | .chip_select = 3, | ||
401 | .controller_data= &spi_si3xxx_chip_info, | ||
402 | .mode = SPI_MODE_3, | ||
403 | }, | ||
404 | { | ||
405 | .modalias = "fxo-spi", | ||
406 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | ||
407 | .bus_num = 1, | ||
408 | .chip_select = 2, | ||
409 | .controller_data= &spi_si3xxx_chip_info, | ||
410 | .mode = SPI_MODE_3, | ||
411 | }, | ||
412 | #endif | ||
413 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 385 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
414 | { | 386 | { |
415 | .modalias = "ad7877", | 387 | .modalias = "ad7877", |
@@ -451,7 +423,7 @@ static struct resource bfin_uart_resources[] = { | |||
451 | .start = 0xFFC00400, | 423 | .start = 0xFFC00400, |
452 | .end = 0xFFC004FF, | 424 | .end = 0xFFC004FF, |
453 | .flags = IORESOURCE_MEM, | 425 | .flags = IORESOURCE_MEM, |
454 | },{ | 426 | }, { |
455 | .start = 0xFFC02000, | 427 | .start = 0xFFC02000, |
456 | .end = 0xFFC020FF, | 428 | .end = 0xFFC020FF, |
457 | .flags = IORESOURCE_MEM, | 429 | .flags = IORESOURCE_MEM, |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 3a29b4d15f25..c6373530898f 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -37,12 +37,10 @@ | |||
37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 37 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
38 | #include <linux/usb_isp1362.h> | 38 | #include <linux/usb_isp1362.h> |
39 | #endif | 39 | #endif |
40 | #include <asm/irq.h> | ||
41 | #include <linux/irq.h> | 40 | #include <linux/irq.h> |
42 | #include <linux/interrupt.h> | 41 | #include <linux/interrupt.h> |
43 | #include <asm/bfin5xx_spi.h> | ||
44 | #include <linux/usb_sl811.h> | 42 | #include <linux/usb_sl811.h> |
45 | 43 | #include <asm/bfin5xx_spi.h> | |
46 | #include <linux/spi/ad7877.h> | 44 | #include <linux/spi/ad7877.h> |
47 | 45 | ||
48 | /* | 46 | /* |
@@ -85,7 +83,7 @@ static struct platform_device *bfin_isp1761_devices[] = { | |||
85 | 83 | ||
86 | int __init bfin_isp1761_init(void) | 84 | int __init bfin_isp1761_init(void) |
87 | { | 85 | { |
88 | unsigned int num_devices=ARRAY_SIZE(bfin_isp1761_devices); | 86 | unsigned int num_devices = ARRAY_SIZE(bfin_isp1761_devices); |
89 | 87 | ||
90 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); | 88 | printk(KERN_INFO "%s(): registering device resources\n", __FUNCTION__); |
91 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); | 89 | set_irq_type(ISP1761_IRQ, IRQF_TRIGGER_FALLING); |
@@ -107,15 +105,15 @@ static struct resource bfin_pcmcia_cf_resources[] = { | |||
107 | .start = 0x20310000, /* IO PORT */ | 105 | .start = 0x20310000, /* IO PORT */ |
108 | .end = 0x20312000, | 106 | .end = 0x20312000, |
109 | .flags = IORESOURCE_MEM, | 107 | .flags = IORESOURCE_MEM, |
110 | },{ | 108 | }, { |
111 | .start = 0x20311000, /* Attribute Memory */ | 109 | .start = 0x20311000, /* Attribute Memory */ |
112 | .end = 0x20311FFF, | 110 | .end = 0x20311FFF, |
113 | .flags = IORESOURCE_MEM, | 111 | .flags = IORESOURCE_MEM, |
114 | },{ | 112 | }, { |
115 | .start = IRQ_PF4, | 113 | .start = IRQ_PF4, |
116 | .end = IRQ_PF4, | 114 | .end = IRQ_PF4, |
117 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, | 115 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_LOWLEVEL, |
118 | },{ | 116 | }, { |
119 | .start = 6, /* Card Detect PF6 */ | 117 | .start = 6, /* Card Detect PF6 */ |
120 | .end = 6, | 118 | .end = 6, |
121 | .flags = IORESOURCE_IRQ, | 119 | .flags = IORESOURCE_IRQ, |
@@ -144,7 +142,7 @@ static struct resource smc91x_resources[] = { | |||
144 | .start = 0x20300300, | 142 | .start = 0x20300300, |
145 | .end = 0x20300300 + 16, | 143 | .end = 0x20300300 + 16, |
146 | .flags = IORESOURCE_MEM, | 144 | .flags = IORESOURCE_MEM, |
147 | },{ | 145 | }, { |
148 | 146 | ||
149 | .start = IRQ_PF7, | 147 | .start = IRQ_PF7, |
150 | .end = IRQ_PF7, | 148 | .end = IRQ_PF7, |
@@ -165,11 +163,11 @@ static struct resource sl811_hcd_resources[] = { | |||
165 | .start = 0x20340000, | 163 | .start = 0x20340000, |
166 | .end = 0x20340000, | 164 | .end = 0x20340000, |
167 | .flags = IORESOURCE_MEM, | 165 | .flags = IORESOURCE_MEM, |
168 | },{ | 166 | }, { |
169 | .start = 0x20340004, | 167 | .start = 0x20340004, |
170 | .end = 0x20340004, | 168 | .end = 0x20340004, |
171 | .flags = IORESOURCE_MEM, | 169 | .flags = IORESOURCE_MEM, |
172 | },{ | 170 | }, { |
173 | .start = CONFIG_USB_SL811_BFIN_IRQ, | 171 | .start = CONFIG_USB_SL811_BFIN_IRQ, |
174 | .end = CONFIG_USB_SL811_BFIN_IRQ, | 172 | .end = CONFIG_USB_SL811_BFIN_IRQ, |
175 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 173 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -216,11 +214,11 @@ static struct resource isp1362_hcd_resources[] = { | |||
216 | .start = 0x20360000, | 214 | .start = 0x20360000, |
217 | .end = 0x20360000, | 215 | .end = 0x20360000, |
218 | .flags = IORESOURCE_MEM, | 216 | .flags = IORESOURCE_MEM, |
219 | },{ | 217 | }, { |
220 | .start = 0x20360004, | 218 | .start = 0x20360004, |
221 | .end = 0x20360004, | 219 | .end = 0x20360004, |
222 | .flags = IORESOURCE_MEM, | 220 | .flags = IORESOURCE_MEM, |
223 | },{ | 221 | }, { |
224 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 222 | .start = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
225 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, | 223 | .end = CONFIG_USB_ISP1362_BFIN_GPIO_IRQ, |
226 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 224 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -261,7 +259,7 @@ static struct resource net2272_bfin_resources[] = { | |||
261 | .start = 0x20300000, | 259 | .start = 0x20300000, |
262 | .end = 0x20300000 + 0x100, | 260 | .end = 0x20300000 + 0x100, |
263 | .flags = IORESOURCE_MEM, | 261 | .flags = IORESOURCE_MEM, |
264 | },{ | 262 | }, { |
265 | .start = IRQ_PF7, | 263 | .start = IRQ_PF7, |
266 | .end = IRQ_PF7, | 264 | .end = IRQ_PF7, |
267 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, | 265 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHLEVEL, |
@@ -287,11 +285,11 @@ static struct mtd_partition bfin_spi_flash_partitions[] = { | |||
287 | .size = 0x00020000, | 285 | .size = 0x00020000, |
288 | .offset = 0, | 286 | .offset = 0, |
289 | .mask_flags = MTD_CAP_ROM | 287 | .mask_flags = MTD_CAP_ROM |
290 | },{ | 288 | }, { |
291 | .name = "kernel", | 289 | .name = "kernel", |
292 | .size = 0xe0000, | 290 | .size = 0xe0000, |
293 | .offset = 0x20000 | 291 | .offset = 0x20000 |
294 | },{ | 292 | }, { |
295 | .name = "file system", | 293 | .name = "file system", |
296 | .size = 0x700000, | 294 | .size = 0x700000, |
297 | .offset = 0x00100000, | 295 | .offset = 0x00100000, |
@@ -361,7 +359,6 @@ static struct bfin5xx_spi_chip ad5304_chip_info = { | |||
361 | 359 | ||
362 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 360 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
363 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 361 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
364 | // .cs_change_per_word = 1, | ||
365 | .enable_dma = 0, | 362 | .enable_dma = 0, |
366 | .bits_per_word = 16, | 363 | .bits_per_word = 16, |
367 | }; | 364 | }; |
@@ -449,19 +446,19 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
449 | #endif | 446 | #endif |
450 | #if defined(CONFIG_PBX) | 447 | #if defined(CONFIG_PBX) |
451 | { | 448 | { |
452 | .modalias = "fxs-spi", | 449 | .modalias = "fxs-spi", |
453 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 450 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
454 | .bus_num = 1, | 451 | .bus_num = 1, |
455 | .chip_select = 3, | 452 | .chip_select = 3, |
456 | .controller_data= &spi_si3xxx_chip_info, | 453 | .controller_data = &spi_si3xxx_chip_info, |
457 | .mode = SPI_MODE_3, | 454 | .mode = SPI_MODE_3, |
458 | }, | 455 | }, |
459 | { | 456 | { |
460 | .modalias = "fxo-spi", | 457 | .modalias = "fxo-spi", |
461 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 458 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
462 | .bus_num = 1, | 459 | .bus_num = 1, |
463 | .chip_select = 2, | 460 | .chip_select = 2, |
464 | .controller_data= &spi_si3xxx_chip_info, | 461 | .controller_data = &spi_si3xxx_chip_info, |
465 | .mode = SPI_MODE_3, | 462 | .mode = SPI_MODE_3, |
466 | }, | 463 | }, |
467 | #endif | 464 | #endif |
@@ -516,7 +513,7 @@ static struct resource bfin_uart_resources[] = { | |||
516 | .start = 0xFFC00400, | 513 | .start = 0xFFC00400, |
517 | .end = 0xFFC004FF, | 514 | .end = 0xFFC004FF, |
518 | .flags = IORESOURCE_MEM, | 515 | .flags = IORESOURCE_MEM, |
519 | },{ | 516 | }, { |
520 | .start = 0xFFC02000, | 517 | .start = 0xFFC02000, |
521 | .end = 0xFFC020FF, | 518 | .end = 0xFFC020FF, |
522 | .flags = IORESOURCE_MEM, | 519 | .flags = IORESOURCE_MEM, |
diff --git a/arch/blackfin/mach-bf537/ints-priority.c b/arch/blackfin/mach-bf537/ints-priority.c index 2dbf3df465d1..a8b915f202ec 100644 --- a/arch/blackfin/mach-bf537/ints-priority.c +++ b/arch/blackfin/mach-bf537/ints-priority.c | |||
@@ -28,8 +28,8 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include <linux/module.h> | 30 | #include <linux/module.h> |
31 | #include <linux/irq.h> | ||
31 | #include <asm/blackfin.h> | 32 | #include <asm/blackfin.h> |
32 | #include <asm/irq.h> | ||
33 | 33 | ||
34 | void program_IAR(void) | 34 | void program_IAR(void) |
35 | { | 35 | { |