Commit 86c4c243 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

[PATCH] sparc: use initalisers for struct resource

For when the layout of `struct resource' changes.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@mail.ru>
Acked-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9c329b29
...@@ -54,11 +54,11 @@ static void _sparc_free_io(struct resource *res); ...@@ -54,11 +54,11 @@ static void _sparc_free_io(struct resource *res);
/* This points to the next to use virtual memory for DVMA mappings */ /* This points to the next to use virtual memory for DVMA mappings */
static struct resource _sparc_dvma = { static struct resource _sparc_dvma = {
"sparc_dvma", DVMA_VADDR, DVMA_END - 1 .name = "sparc_dvma", .start = DVMA_VADDR, .end = DVMA_END - 1
}; };
/* This points to the start of I/O mappings, cluable from outside. */ /* This points to the start of I/O mappings, cluable from outside. */
/*ext*/ struct resource sparc_iomap = { /*ext*/ struct resource sparc_iomap = {
"sparc_iomap", IOBASE_VADDR, IOBASE_END - 1 .name = "sparc_iomap", .start = IOBASE_VADDR, .end = IOBASE_END - 1
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment