diff options
Diffstat (limited to 'arch/mips/alchemy/devboards/db1300.c')
-rw-r--r-- | arch/mips/alchemy/devboards/db1300.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/devboards/db1300.c index c56e0246694e..cdf37cbd3d1f 100644 --- a/arch/mips/alchemy/devboards/db1300.c +++ b/arch/mips/alchemy/devboards/db1300.c | |||
@@ -110,11 +110,6 @@ static void __init db1300_gpio_config(void) | |||
110 | au1300_set_dbdma_gpio(1, AU1300_PIN_FG3AUX); | 110 | au1300_set_dbdma_gpio(1, AU1300_PIN_FG3AUX); |
111 | } | 111 | } |
112 | 112 | ||
113 | char *get_system_type(void) | ||
114 | { | ||
115 | return "DB1300"; | ||
116 | } | ||
117 | |||
118 | /**********************************************************************/ | 113 | /**********************************************************************/ |
119 | 114 | ||
120 | static void au1300_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, | 115 | static void au1300_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, |
@@ -701,7 +696,7 @@ static struct platform_device *db1300_dev[] __initdata = { | |||
701 | &db1300_sndi2s_dev, | 696 | &db1300_sndi2s_dev, |
702 | }; | 697 | }; |
703 | 698 | ||
704 | static int __init db1300_device_init(void) | 699 | int __init db1300_dev_setup(void) |
705 | { | 700 | { |
706 | int swapped, cpldirq; | 701 | int swapped, cpldirq; |
707 | 702 | ||
@@ -758,10 +753,9 @@ static int __init db1300_device_init(void) | |||
758 | 753 | ||
759 | return platform_add_devices(db1300_dev, ARRAY_SIZE(db1300_dev)); | 754 | return platform_add_devices(db1300_dev, ARRAY_SIZE(db1300_dev)); |
760 | } | 755 | } |
761 | device_initcall(db1300_device_init); | ||
762 | 756 | ||
763 | 757 | ||
764 | void __init board_setup(void) | 758 | int __init db1300_board_setup(void) |
765 | { | 759 | { |
766 | unsigned short whoami; | 760 | unsigned short whoami; |
767 | 761 | ||
@@ -779,4 +773,6 @@ void __init board_setup(void) | |||
779 | alchemy_uart_enable(AU1300_UART0_PHYS_ADDR); | 773 | alchemy_uart_enable(AU1300_UART0_PHYS_ADDR); |
780 | alchemy_uart_enable(AU1300_UART1_PHYS_ADDR); | 774 | alchemy_uart_enable(AU1300_UART1_PHYS_ADDR); |
781 | alchemy_uart_enable(AU1300_UART3_PHYS_ADDR); | 775 | alchemy_uart_enable(AU1300_UART3_PHYS_ADDR); |
776 | |||
777 | return 0; | ||
782 | } | 778 | } |