diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-04-30 18:49:20 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-24 17:02:47 +0200 |
commit | 4614c32645c536e30eaf895c7e0cd42dfb145634 (patch) | |
tree | 53d21284bcb8eccde33871a6a072fd5717a770dd /arch/mips/jmr3927/rbhma3100 | |
parent | [MIPS] Replace __attribute_used__ with __used (diff) | |
download | linux-4614c32645c536e30eaf895c7e0cd42dfb145634.tar.xz linux-4614c32645c536e30eaf895c7e0cd42dfb145634.zip |
[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>
Diffstat (limited to 'arch/mips/jmr3927/rbhma3100')
-rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 2 |
1 files changed, 1 insertions, 1 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); static int __init jmr3927_rtc_init(void) { - struct resource res = { + static struct resource __initdata res = { .start = JMR3927_IOC_NVRAMB_ADDR - IO_BASE, .end = JMR3927_IOC_NVRAMB_ADDR - IO_BASE + 0x800 - 1, .flags = IORESOURCE_MEM, |