From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Mon, 7 Nov 2011 10:35:06 +0000 Subject: [PATCH] ARM: kirkwood: add LaCie Network Space Lite v2 support In-Reply-To: <1320661790-7066-1-git-send-email-cvubrugier@lacie.com> References: <1320661790-7066-1-git-send-email-cvubrugier@lacie.com> Message-ID: <20111107103506.GN12913@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Nov 07, 2011 at 11:29:50AM +0100, Christophe Vu-Brugier wrote: > +#ifdef CONFIG_MACH_NETSPACE_LITE_V2 > +MACHINE_START(NETSPACE_LITE_V2, "LaCie Network Space Lite v2") > + .atag_offset = 0x100, > + .init_machine = netspace_v2_init, > + .map_io = kirkwood_map_io, > + .init_early = kirkwood_init_early, > + .init_irq = kirkwood_init_irq, > + .timer = &kirkwood_timer, When the restart series is queued, you'll have to add a: .restart = kirkwood_restart, here. Please also order these initializers in the same order as they're declared in struct machine_desc - the order there reflects the order in which they're called. They're done like that to aid peoples understanding of the ordering there. So you want .init_machine after .timer. > +MACHINE_END > +#endif