aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sni/pcit.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2013-01-22 06:59:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 04:00:22 -0500
commit7034228792cc561e79ff8600f02884bd4c80e287 (patch)
tree89b77af37d087d9de236fc5d21f60bf552d0a2c6 /arch/mips/sni/pcit.c
parent405ab01c70e18058d9c01a1256769a61fc65413e (diff)
MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sni/pcit.c')
-rw-r--r--arch/mips/sni/pcit.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/arch/mips/sni/pcit.c b/arch/mips/sni/pcit.c
index b5246373d16b..7cddd03d1fea 100644
--- a/arch/mips/sni/pcit.c
+++ b/arch/mips/sni/pcit.c
@@ -59,22 +59,22 @@ static struct platform_device pcit_cplus_serial8250_device = {
59}; 59};
60 60
61static struct resource pcit_cmos_rsrc[] = { 61static struct resource pcit_cmos_rsrc[] = {
62 { 62 {
63 .start = 0x70, 63 .start = 0x70,
64 .end = 0x71, 64 .end = 0x71,
65 .flags = IORESOURCE_IO 65 .flags = IORESOURCE_IO
66 }, 66 },
67 { 67 {
68 .start = 8, 68 .start = 8,
69 .end = 8, 69 .end = 8,
70 .flags = IORESOURCE_IRQ 70 .flags = IORESOURCE_IRQ
71 } 71 }
72}; 72};
73 73
74static struct platform_device pcit_cmos_device = { 74static struct platform_device pcit_cmos_device = {
75 .name = "rtc_cmos", 75 .name = "rtc_cmos",
76 .num_resources = ARRAY_SIZE(pcit_cmos_rsrc), 76 .num_resources = ARRAY_SIZE(pcit_cmos_rsrc),
77 .resource = pcit_cmos_rsrc 77 .resource = pcit_cmos_rsrc
78}; 78};
79 79
80static struct platform_device pcit_pcspeaker_pdev = { 80static struct platform_device pcit_pcspeaker_pdev = {
@@ -153,7 +153,7 @@ static struct pci_controller sni_pcit_controller = {
153 .mem_offset = 0x00000000UL, 153 .mem_offset = 0x00000000UL,
154 .io_resource = &sni_io_resource, 154 .io_resource = &sni_io_resource,
155 .io_offset = 0x00000000UL, 155 .io_offset = 0x00000000UL,
156 .io_map_base = SNI_PORT_BASE 156 .io_map_base = SNI_PORT_BASE
157}; 157};
158 158
159static void enable_pcit_irq(struct irq_data *d) 159static void enable_pcit_irq(struct irq_data *d)
@@ -272,16 +272,16 @@ static int __init snirm_pcit_setup_devinit(void)
272{ 272{
273 switch (sni_brd_type) { 273 switch (sni_brd_type) {
274 case SNI_BRD_PCI_TOWER: 274 case SNI_BRD_PCI_TOWER:
275 platform_device_register(&pcit_serial8250_device); 275 platform_device_register(&pcit_serial8250_device);
276 platform_device_register(&pcit_cmos_device); 276 platform_device_register(&pcit_cmos_device);
277 platform_device_register(&pcit_pcspeaker_pdev); 277 platform_device_register(&pcit_pcspeaker_pdev);
278 break; 278 break;
279 279
280 case SNI_BRD_PCI_TOWER_CPLUS: 280 case SNI_BRD_PCI_TOWER_CPLUS:
281 platform_device_register(&pcit_cplus_serial8250_device); 281 platform_device_register(&pcit_cplus_serial8250_device);
282 platform_device_register(&pcit_cmos_device); 282 platform_device_register(&pcit_cmos_device);
283 platform_device_register(&pcit_pcspeaker_pdev); 283 platform_device_register(&pcit_pcspeaker_pdev);
284 break; 284 break;
285 } 285 }
286 return 0; 286 return 0;
287} 287}