code style scripts/checkpatch.pl (linux-3.9-rc1) formatting
[linux-2.6.32.60-moxart.git] / arch / arm / mach-moxart / board-UC-7112-LX.c
blobf6d528868a505f6d725c5df1ed2f4ce9442f719f
1 /* Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
2 * This program is free software; you can redistribute it and/or modify it
3 * under the terms of the GNU General Public License as published by the
4 * Free Software Foundation; either version 2 of the License,
5 * or (at your option) any later version. */
7 #include <linux/kernel.h>
8 #include <linux/init.h>
10 #include <asm/mach-types.h>
11 #include <asm/mach/arch.h>
13 #include <mach/board.h>
15 static void __init moxart_init(void)
17 moxart_register_uart();
18 moxart_add_ethernet_devices();
19 moxart_add_rtc_device();
20 moxart_add_dma_device();
23 static void __init fixup_uc711x(struct machine_desc *desc,
24 struct tag *tags, char **cmdline, struct meminfo *mi)
26 /* moxa_serial_init(); */
29 MACHINE_START(MOXART, "MOXA UC-7112-LX")
30 .fixup = fixup_uc711x,
31 .map_io = moxart_map_io,
32 .init_machine = moxart_init,
33 .init_irq = moxart_init_irq,
34 .timer = &moxart_timer,
36 /* .boot_params = 0x100,
37 .atag_offset = 0x100,
38 .param_offset = 0x00000100, */
39 MACHINE_END