Commit 929fe66c authored by Art Haas's avatar Art Haas Committed by Andy Grover

[PATCH] C99 designated initializers for arch/arm

parent be00419b
...@@ -503,12 +503,12 @@ __tagtable(ATAG_MEM, parse_tag_mem32); ...@@ -503,12 +503,12 @@ __tagtable(ATAG_MEM, parse_tag_mem32);
#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE) #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
struct screen_info screen_info = { struct screen_info screen_info = {
orig_video_lines: 30, .orig_video_lines = 30,
orig_video_cols: 80, .orig_video_cols = 80,
orig_video_mode: 0, .orig_video_mode = 0,
orig_video_ega_bx: 0, .orig_video_ega_bx = 0,
orig_video_isVGA: 1, .orig_video_isVGA = 1,
orig_video_points: 8 .orig_video_points = 8
}; };
static int __init parse_tag_videotext(const struct tag *tag) static int __init parse_tag_videotext(const struct tag *tag)
......
...@@ -102,7 +102,7 @@ isa_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) ...@@ -102,7 +102,7 @@ isa_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs)
desc->handle(isa_irq, desc, regs); desc->handle(isa_irq, desc, regs);
} }
static struct irqaction irq_cascade = { handler: no_action, name: "cascade", }; static struct irqaction irq_cascade = { .handler = no_action, .name = "cascade", };
static struct resource pic1_resource = { "pic1", 0x20, 0x3f }; static struct resource pic1_resource = { "pic1", 0x20, 0x3f };
static struct resource pic2_resource = { "pic2", 0xa0, 0xbf }; static struct resource pic2_resource = { "pic2", 0xa0, 0xbf };
......
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
static bootmem_data_t node_bootmem_data[NR_NODES]; static bootmem_data_t node_bootmem_data[NR_NODES];
pg_data_t discontig_node_data[NR_NODES] = { pg_data_t discontig_node_data[NR_NODES] = {
{ bdata: &node_bootmem_data[0] }, { .bdata = &node_bootmem_data[0] },
{ bdata: &node_bootmem_data[1] }, { .bdata = &node_bootmem_data[1] },
{ bdata: &node_bootmem_data[2] }, { .bdata = &node_bootmem_data[2] },
{ bdata: &node_bootmem_data[3] } { .bdata = &node_bootmem_data[3] }
}; };
EXPORT_SYMBOL(discontig_node_data); EXPORT_SYMBOL(discontig_node_data);
......
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