diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2003-05-13 21:53:49 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2003-05-13 21:53:49 +0100 |
| commit | a0eb8972073990dc4aeff6f808aa22d91a811fb7 (patch) | |
| tree | af10fbc57f76b5f4817be4c9334b067652d7ac60 /include | |
| parent | 70ba5e7c64b7d22e1134ed0e597560bbfb5572ef (diff) | |
[ARM] Convert more structure initialisers to C99 syntax.
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/mach/arch.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/include/asm-arm/mach/arch.h b/include/asm-arm/mach/arch.h index 4b62abb9a1ef..5ddc14f683c2 100644 --- a/include/asm-arm/mach/arch.h +++ b/include/asm-arm/mach/arch.h @@ -54,39 +54,37 @@ struct machine_desc { #define MACHINE_START(_type,_name) \ const struct machine_desc __mach_desc_##_type \ __attribute__((__section__(".arch.info"))) = { \ - nr: MACH_TYPE_##_type, \ - name: _name, + .nr = MACH_TYPE_##_type, \ + .name = _name, #define MAINTAINER(n) #define BOOT_MEM(_pram,_pio,_vio) \ - phys_ram: _pram, \ - phys_io: _pio, \ - io_pg_offst: ((_vio)>>18)&0xfffc, + .phys_ram = _pram, \ + .phys_io = _pio, \ + .io_pg_offst = ((_vio)>>18)&0xfffc, #define BOOT_PARAMS(_params) \ - param_offset: _params, + .param_offset = _params, #define VIDEO(_start,_end) \ - video_start: _start, \ - video_end: _end, + .video_start = _start, \ + .video_end = _end, #define DISABLE_PARPORT(_n) \ - reserve_lp##_n: 1, - -#define BROKEN_HLT /* unused */ + .reserve_lp##_n = 1, #define SOFT_REBOOT \ - soft_reboot: 1, + .soft_reboot = 1, #define FIXUP(_func) \ - fixup: _func, + .fixup = _func, #define MAPIO(_func) \ - map_io: _func, + .map_io = _func, #define INITIRQ(_func) \ - init_irq: _func, + .init_irq = _func, #define MACHINE_END \ }; |
