X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Farm%2Fmach-ixp4xx%2Fcoyote-setup.c;h=bc6e0d0427a2cf99734b2c6f8bb2ad1e78ac9e0d;hb=f9296eb00ed30209424102d3c920e69617eea853;hp=03ad0b71824cb7f788ed9f6a590a420cf52d13fd;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/arch/arm/mach-ixp4xx/coyote-setup.c b/arch/arm/mach-ixp4xx/coyote-setup.c index 03ad0b718..bc6e0d042 100644 --- a/arch/arm/mach-ixp4xx/coyote-setup.c +++ b/arch/arm/mach-ixp4xx/coyote-setup.c @@ -63,7 +63,7 @@ static struct resource coyote_flash_resource = { .flags = IORESOURCE_MEM, }; -static struct platform_device coyote_flash = { +static struct platform_device coyote_flash_device = { .name = "IXP4XX-Flash", .id = 0, .dev = { @@ -73,13 +73,9 @@ static struct platform_device coyote_flash = { .resource = &coyote_flash_resource, }; -static struct platform_device *coyote_devices[] __initdata = { - &coyote_flash -}; - static void __init coyote_init(void) { - platform_add_devices(&coyote_devices, ARRAY_SIZE(coyote_devices)); + platform_add_device(&coyote_flash_device); } MACHINE_START(ADI_COYOTE, "ADI Engineering IXP4XX Coyote Development Platform") @@ -88,7 +84,6 @@ MACHINE_START(ADI_COYOTE, "ADI Engineering IXP4XX Coyote Development Platform") IXP4XX_PERIPHERAL_BASE_VIRT) MAPIO(coyote_map_io) INITIRQ(ixp4xx_init_irq) - INITTIME(ixp4xx_init_time) BOOT_PARAMS(0x0100) INIT_MACHINE(coyote_init) MACHINE_END