diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-04-30 12:49:20 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-24 11:02:47 -0400 |
commit | 4614c32645c536e30eaf895c7e0cd42dfb145634 (patch) | |
tree | 53d21284bcb8eccde33871a6a072fd5717a770dd | |
parent | f5dbeaf5ed3938beea8e58ee473982a4bcadc172 (diff) |
[MIPS] Make resources for ds1742 "static __initdata"
We can make resources for platform_device_register_simple() "static
__initdata".
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/jmr3927/rbhma3100/setup.c b/arch/mips/jmr3927/rbhma3100/setup.c index d1ef2895d564..8303001516d2 100644 --- a/arch/mips/jmr3927/rbhma3100/setup.c +++ b/arch/mips/jmr3927/rbhma3100/setup.c | |||
@@ -434,7 +434,7 @@ EXPORT_SYMBOL(__swizzle_addr_b); | |||
434 | 434 | ||
435 | static int __init jmr3927_rtc_init(void) | 435 | static int __init jmr3927_rtc_init(void) |
436 | { | 436 | { |
437 | struct resource res = { | 437 | static struct resource __initdata res = { |
438 | .start = JMR3927_IOC_NVRAMB_ADDR - IO_BASE, | 438 | .start = JMR3927_IOC_NVRAMB_ADDR - IO_BASE, |
439 | .end = JMR3927_IOC_NVRAMB_ADDR - IO_BASE + 0x800 - 1, | 439 | .end = JMR3927_IOC_NVRAMB_ADDR - IO_BASE + 0x800 - 1, |
440 | .flags = IORESOURCE_MEM, | 440 | .flags = IORESOURCE_MEM, |
diff --git a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c index 40c7c3eeafaf..ab72292a172e 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_setup.c | |||
@@ -1020,7 +1020,7 @@ void __init toshiba_rbtx4927_timer_setup(struct irqaction *irq) | |||
1020 | 1020 | ||
1021 | static int __init toshiba_rbtx4927_rtc_init(void) | 1021 | static int __init toshiba_rbtx4927_rtc_init(void) |
1022 | { | 1022 | { |
1023 | struct resource res = { | 1023 | static struct resource __initdata res = { |
1024 | .start = 0x1c010000, | 1024 | .start = 0x1c010000, |
1025 | .end = 0x1c010000 + 0x800 - 1, | 1025 | .end = 0x1c010000 + 0x800 - 1, |
1026 | .flags = IORESOURCE_MEM, | 1026 | .flags = IORESOURCE_MEM, |