diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-07-03 12:38:58 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-07-03 12:38:58 -0400 |
commit | e9dea0c65d2de6981356c055781fb99d7191b14e (patch) | |
tree | 106e6302238f561e679e479584095d49fe5c66fd /arch/arm/mach-lh7a40x/arch-lpd7a40x.c | |
parent | 1d6bebf2ecf92924492c491d9c3a72edba95f907 (diff) |
[PATCH] ARM: Remove machine description macros
Remove the pointless machine description macros, favouring C99
initialisers instead.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lh7a40x/arch-lpd7a40x.c')
-rw-r--r-- | arch/arm/mach-lh7a40x/arch-lpd7a40x.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c index c823447a150f..6eb61a17c63b 100644 --- a/arch/arm/mach-lh7a40x/arch-lpd7a40x.c +++ b/arch/arm/mach-lh7a40x/arch-lpd7a40x.c | |||
@@ -260,13 +260,15 @@ lpd7a400_map_io(void) | |||
260 | #ifdef CONFIG_MACH_LPD7A400 | 260 | #ifdef CONFIG_MACH_LPD7A400 |
261 | 261 | ||
262 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") | 262 | MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10") |
263 | MAINTAINER ("Marc Singer") | 263 | /* Maintainer: Marc Singer */ |
264 | BOOT_MEM (0xc0000000, 0x80000000, io_p2v (0x80000000)) | 264 | .phys_ram = 0xc0000000, |
265 | BOOT_PARAMS (0xc0000100) | 265 | .phys_io = 0x80000000, |
266 | MAPIO (lpd7a400_map_io) | 266 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, |
267 | INITIRQ (lh7a400_init_irq) | 267 | .boot_params = 0xc0000100, |
268 | .map_io = lpd7a400_map_io, | ||
269 | .init_irq = lh7a400_init_irq, | ||
268 | .timer = &lh7a40x_timer, | 270 | .timer = &lh7a40x_timer, |
269 | INIT_MACHINE (lpd7a40x_init) | 271 | .init_machine = lpd7a40x_init, |
270 | MACHINE_END | 272 | MACHINE_END |
271 | 273 | ||
272 | #endif | 274 | #endif |
@@ -274,13 +276,15 @@ MACHINE_END | |||
274 | #ifdef CONFIG_MACH_LPD7A404 | 276 | #ifdef CONFIG_MACH_LPD7A404 |
275 | 277 | ||
276 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") | 278 | MACHINE_START (LPD7A404, "Logic Product Development LPD7A404-10") |
277 | MAINTAINER ("Marc Singer") | 279 | /* Maintainer: Marc Singer */ |
278 | BOOT_MEM (0xc0000000, 0x80000000, io_p2v (0x80000000)) | 280 | .phys_ram = 0xc0000000, |
279 | BOOT_PARAMS (0xc0000100) | 281 | .phys_io = 0x80000000, |
280 | MAPIO (lpd7a400_map_io) | 282 | .io_pg_offst = ((io_p2v (0x80000000))>>18) & 0xfffc, |
281 | INITIRQ (lh7a404_init_irq) | 283 | .boot_params = 0xc0000100, |
284 | .map_io = lpd7a400_map_io, | ||
285 | .init_irq = lh7a404_init_irq, | ||
282 | .timer = &lh7a40x_timer, | 286 | .timer = &lh7a40x_timer, |
283 | INIT_MACHINE (lpd7a40x_init) | 287 | .init_machine = lpd7a40x_init, |
284 | MACHINE_END | 288 | MACHINE_END |
285 | 289 | ||
286 | #endif | 290 | #endif |