diff options
Diffstat (limited to 'arch/m68k/platform/5407/config.c')
| -rw-r--r-- | arch/m68k/platform/5407/config.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/m68k/platform/5407/config.c b/arch/m68k/platform/5407/config.c index ae2689d246e3..e66ef8563717 100644 --- a/arch/m68k/platform/5407/config.c +++ b/arch/m68k/platform/5407/config.c | |||
| @@ -20,30 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | /***************************************************************************/ | 21 | /***************************************************************************/ |
| 22 | 22 | ||
| 23 | static struct mcf_platform_uart m5407_uart_platform[] = { | ||
| 24 | { | ||
| 25 | .mapbase = MCFUART_BASE0, | ||
| 26 | .irq = MCF_IRQ_UART0, | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | .mapbase = MCFUART_BASE1, | ||
| 30 | .irq = MCF_IRQ_UART1, | ||
| 31 | }, | ||
| 32 | { }, | ||
| 33 | }; | ||
| 34 | |||
| 35 | static struct platform_device m5407_uart = { | ||
| 36 | .name = "mcfuart", | ||
| 37 | .id = 0, | ||
| 38 | .dev.platform_data = m5407_uart_platform, | ||
| 39 | }; | ||
| 40 | |||
| 41 | static struct platform_device *m5407_devices[] __initdata = { | ||
| 42 | &m5407_uart, | ||
| 43 | }; | ||
| 44 | |||
| 45 | /***************************************************************************/ | ||
| 46 | |||
| 47 | static void __init m5407_uarts_init(void) | 23 | static void __init m5407_uarts_init(void) |
| 48 | { | 24 | { |
| 49 | /* UART0 interrupt setup */ | 25 | /* UART0 interrupt setup */ |
| @@ -102,13 +78,3 @@ void __init config_BSP(char *commandp, int size) | |||
| 102 | } | 78 | } |
| 103 | 79 | ||
| 104 | /***************************************************************************/ | 80 | /***************************************************************************/ |
| 105 | |||
| 106 | static int __init init_BSP(void) | ||
| 107 | { | ||
| 108 | platform_add_devices(m5407_devices, ARRAY_SIZE(m5407_devices)); | ||
| 109 | return 0; | ||
| 110 | } | ||
| 111 | |||
| 112 | arch_initcall(init_BSP); | ||
| 113 | |||
| 114 | /***************************************************************************/ | ||
