diff options
Diffstat (limited to 'arch/mips/loongson1/ls1b/board.c')
-rw-r--r-- | arch/mips/loongson1/ls1b/board.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/mips/loongson1/ls1b/board.c b/arch/mips/loongson1/ls1b/board.c index b26b10dac70a..58daeea25739 100644 --- a/arch/mips/loongson1/ls1b/board.c +++ b/arch/mips/loongson1/ls1b/board.c | |||
@@ -10,17 +10,19 @@ | |||
10 | #include <platform.h> | 10 | #include <platform.h> |
11 | 11 | ||
12 | static struct platform_device *ls1b_platform_devices[] __initdata = { | 12 | static struct platform_device *ls1b_platform_devices[] __initdata = { |
13 | &ls1x_uart_device, | 13 | &ls1x_uart_pdev, |
14 | &ls1x_eth0_device, | 14 | &ls1x_cpufreq_pdev, |
15 | &ls1x_ehci_device, | 15 | &ls1x_eth0_pdev, |
16 | &ls1x_rtc_device, | 16 | &ls1x_eth1_pdev, |
17 | &ls1x_ehci_pdev, | ||
18 | &ls1x_rtc_pdev, | ||
17 | }; | 19 | }; |
18 | 20 | ||
19 | static int __init ls1b_platform_init(void) | 21 | static int __init ls1b_platform_init(void) |
20 | { | 22 | { |
21 | int err; | 23 | int err; |
22 | 24 | ||
23 | ls1x_serial_setup(&ls1x_uart_device); | 25 | ls1x_serial_setup(&ls1x_uart_pdev); |
24 | 26 | ||
25 | err = platform_add_devices(ls1b_platform_devices, | 27 | err = platform_add_devices(ls1b_platform_devices, |
26 | ARRAY_SIZE(ls1b_platform_devices)); | 28 | ARRAY_SIZE(ls1b_platform_devices)); |