Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ARM: 2765/1: S3C24XX - small cleanups in arch/arm/mach-s3c2410

Patch from Ben Dooks

Re-tab the devs.c file, and change the initialiser for the
mach-vr1000.c to use `.xxx = yyy` form.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Ben Dooks and committed by
Russell King
6904b246 f705b1ae

+4 -8
+2 -2
arch/arm/mach-s3c2410/devs.c
··· 96 96 .num_resources = ARRAY_SIZE(s3c_lcd_resource), 97 97 .resource = s3c_lcd_resource, 98 98 .dev = { 99 - .dma_mask = &s3c_device_lcd_dmamask, 100 - .coherent_dma_mask = 0xffffffffUL 99 + .dma_mask = &s3c_device_lcd_dmamask, 100 + .coherent_dma_mask = 0xffffffffUL 101 101 } 102 102 }; 103 103
+2 -6
arch/arm/mach-s3c2410/mach-vr1000.c
··· 371 371 usb_simtec_init(); 372 372 } 373 373 374 - void __init vr1000_init_irq(void) 375 - { 376 - s3c24xx_init_irq(); 377 - } 378 374 379 375 MACHINE_START(VR1000, "Thorcom-VR1000") 380 376 MAINTAINER("Ben Dooks <ben@simtec.co.uk>") 381 377 BOOT_MEM(S3C2410_SDRAM_PA, S3C2410_PA_UART, (u32)S3C24XX_VA_UART) 382 378 BOOT_PARAMS(S3C2410_SDRAM_PA + 0x100) 383 - MAPIO(vr1000_map_io) 384 - INITIRQ(vr1000_init_irq) 379 + .map_io = vr1000_map_io, 380 + .init_irq = s3c24xx_init_irq, 385 381 .timer = &s3c24xx_timer, 386 382 MACHINE_END