diff options
| -rw-r--r-- | arch/xtensa/platforms/xtfpga/setup.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index 25d936e8296f..800227862fe8 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c | |||
| @@ -194,7 +194,7 @@ void __init platform_calibrate_ccount(void) | |||
| 194 | * Ethernet -- OpenCores Ethernet MAC (ethoc driver) | 194 | * Ethernet -- OpenCores Ethernet MAC (ethoc driver) |
| 195 | */ | 195 | */ |
| 196 | 196 | ||
| 197 | static struct resource ethoc_res[] __initdata = { | 197 | static struct resource ethoc_res[] = { |
| 198 | [0] = { /* register space */ | 198 | [0] = { /* register space */ |
| 199 | .start = OETH_REGS_PADDR, | 199 | .start = OETH_REGS_PADDR, |
| 200 | .end = OETH_REGS_PADDR + OETH_REGS_SIZE - 1, | 200 | .end = OETH_REGS_PADDR + OETH_REGS_SIZE - 1, |
| @@ -212,7 +212,7 @@ static struct resource ethoc_res[] __initdata = { | |||
| 212 | }, | 212 | }, |
| 213 | }; | 213 | }; |
| 214 | 214 | ||
| 215 | static struct ethoc_platform_data ethoc_pdata __initdata = { | 215 | static struct ethoc_platform_data ethoc_pdata = { |
| 216 | /* | 216 | /* |
| 217 | * The MAC address for these boards is 00:50:c2:13:6f:xx. | 217 | * The MAC address for these boards is 00:50:c2:13:6f:xx. |
| 218 | * The last byte (here as zero) is read from the DIP switches on the | 218 | * The last byte (here as zero) is read from the DIP switches on the |
| @@ -222,7 +222,7 @@ static struct ethoc_platform_data ethoc_pdata __initdata = { | |||
| 222 | .phy_id = -1, | 222 | .phy_id = -1, |
| 223 | }; | 223 | }; |
| 224 | 224 | ||
| 225 | static struct platform_device ethoc_device __initdata = { | 225 | static struct platform_device ethoc_device = { |
| 226 | .name = "ethoc", | 226 | .name = "ethoc", |
| 227 | .id = -1, | 227 | .id = -1, |
| 228 | .num_resources = ARRAY_SIZE(ethoc_res), | 228 | .num_resources = ARRAY_SIZE(ethoc_res), |
| @@ -236,13 +236,13 @@ static struct platform_device ethoc_device __initdata = { | |||
| 236 | * UART | 236 | * UART |
| 237 | */ | 237 | */ |
| 238 | 238 | ||
| 239 | static struct resource serial_resource __initdata = { | 239 | static struct resource serial_resource = { |
| 240 | .start = DUART16552_PADDR, | 240 | .start = DUART16552_PADDR, |
| 241 | .end = DUART16552_PADDR + 0x1f, | 241 | .end = DUART16552_PADDR + 0x1f, |
| 242 | .flags = IORESOURCE_MEM, | 242 | .flags = IORESOURCE_MEM, |
| 243 | }; | 243 | }; |
| 244 | 244 | ||
| 245 | static struct plat_serial8250_port serial_platform_data[] __initdata = { | 245 | static struct plat_serial8250_port serial_platform_data[] = { |
| 246 | [0] = { | 246 | [0] = { |
| 247 | .mapbase = DUART16552_PADDR, | 247 | .mapbase = DUART16552_PADDR, |
| 248 | .irq = DUART16552_INTNUM, | 248 | .irq = DUART16552_INTNUM, |
| @@ -255,7 +255,7 @@ static struct plat_serial8250_port serial_platform_data[] __initdata = { | |||
| 255 | { }, | 255 | { }, |
| 256 | }; | 256 | }; |
| 257 | 257 | ||
| 258 | static struct platform_device xtavnet_uart __initdata = { | 258 | static struct platform_device xtavnet_uart = { |
| 259 | .name = "serial8250", | 259 | .name = "serial8250", |
| 260 | .id = PLAT8250_DEV_PLATFORM, | 260 | .id = PLAT8250_DEV_PLATFORM, |
| 261 | .dev = { | 261 | .dev = { |
