diff options
Diffstat (limited to 'arch/mips/jz4740/platform.c')
-rw-r--r-- | arch/mips/jz4740/platform.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c index 6d14dcdbd908..e9348fd26a35 100644 --- a/arch/mips/jz4740/platform.c +++ b/arch/mips/jz4740/platform.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * JZ4740 platform devices | 3 | * JZ4740 platform devices |
4 | * | 4 | * |
5 | * This program is free software; you can redistribute it and/or modify it | 5 | * This program is free software; you can redistribute it and/or modify it |
6 | * under the terms of the GNU General Public License as published by the | 6 | * under the terms of the GNU General Public License as published by the |
7 | * Free Software Foundation; either version 2 of the License, or (at your | 7 | * Free Software Foundation; either version 2 of the License, or (at your |
8 | * option) any later version. | 8 | * option) any later version. |
9 | * | 9 | * |
@@ -102,7 +102,7 @@ struct platform_device jz4740_mmc_device = { | |||
102 | .dma_mask = &jz4740_mmc_device.dev.coherent_dma_mask, | 102 | .dma_mask = &jz4740_mmc_device.dev.coherent_dma_mask, |
103 | .coherent_dma_mask = DMA_BIT_MASK(32), | 103 | .coherent_dma_mask = DMA_BIT_MASK(32), |
104 | }, | 104 | }, |
105 | .num_resources = ARRAY_SIZE(jz4740_mmc_resources), | 105 | .num_resources = ARRAY_SIZE(jz4740_mmc_resources), |
106 | .resource = jz4740_mmc_resources, | 106 | .resource = jz4740_mmc_resources, |
107 | }; | 107 | }; |
108 | 108 | ||
@@ -114,7 +114,7 @@ static struct resource jz4740_rtc_resources[] = { | |||
114 | .flags = IORESOURCE_MEM, | 114 | .flags = IORESOURCE_MEM, |
115 | }, | 115 | }, |
116 | { | 116 | { |
117 | .start = JZ4740_IRQ_RTC, | 117 | .start = JZ4740_IRQ_RTC, |
118 | .end = JZ4740_IRQ_RTC, | 118 | .end = JZ4740_IRQ_RTC, |
119 | .flags = IORESOURCE_IRQ, | 119 | .flags = IORESOURCE_IRQ, |
120 | }, | 120 | }, |
@@ -144,7 +144,7 @@ static struct resource jz4740_i2c_resources[] = { | |||
144 | struct platform_device jz4740_i2c_device = { | 144 | struct platform_device jz4740_i2c_device = { |
145 | .name = "jz4740-i2c", | 145 | .name = "jz4740-i2c", |
146 | .id = 0, | 146 | .id = 0, |
147 | .num_resources = ARRAY_SIZE(jz4740_i2c_resources), | 147 | .num_resources = ARRAY_SIZE(jz4740_i2c_resources), |
148 | .resource = jz4740_i2c_resources, | 148 | .resource = jz4740_i2c_resources, |
149 | }; | 149 | }; |
150 | 150 | ||
@@ -318,8 +318,8 @@ static struct resource jz4740_wdt_resources[] = { | |||
318 | }; | 318 | }; |
319 | 319 | ||
320 | struct platform_device jz4740_wdt_device = { | 320 | struct platform_device jz4740_wdt_device = { |
321 | .name = "jz4740-wdt", | 321 | .name = "jz4740-wdt", |
322 | .id = -1, | 322 | .id = -1, |
323 | .num_resources = ARRAY_SIZE(jz4740_wdt_resources), | 323 | .num_resources = ARRAY_SIZE(jz4740_wdt_resources), |
324 | .resource = jz4740_wdt_resources, | 324 | .resource = jz4740_wdt_resources, |
325 | }; | 325 | }; |