diff options
Diffstat (limited to 'arch/arm/mach-pxa/tosa.c')
-rw-r--r-- | arch/arm/mach-pxa/tosa.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 3332e5d0356c..afac5b6d3d78 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -36,8 +36,8 @@ | |||
36 | 36 | ||
37 | #include <asm/setup.h> | 37 | #include <asm/setup.h> |
38 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
39 | #include <mach/pxa2xx-regs.h> | 39 | |
40 | #include <mach/mfp-pxa25x.h> | 40 | #include <mach/pxa25x.h> |
41 | #include <mach/reset.h> | 41 | #include <mach/reset.h> |
42 | #include <mach/irda.h> | 42 | #include <mach/irda.h> |
43 | #include <mach/i2c.h> | 43 | #include <mach/i2c.h> |
@@ -45,6 +45,7 @@ | |||
45 | #include <mach/udc.h> | 45 | #include <mach/udc.h> |
46 | #include <mach/tosa_bt.h> | 46 | #include <mach/tosa_bt.h> |
47 | #include <mach/pxa2xx_spi.h> | 47 | #include <mach/pxa2xx_spi.h> |
48 | #include <mach/audio.h> | ||
48 | 49 | ||
49 | #include <asm/mach/arch.h> | 50 | #include <asm/mach/arch.h> |
50 | #include <mach/tosa.h> | 51 | #include <mach/tosa.h> |
@@ -876,10 +877,10 @@ static struct platform_device *devices[] __initdata = { | |||
876 | 877 | ||
877 | static void tosa_poweroff(void) | 878 | static void tosa_poweroff(void) |
878 | { | 879 | { |
879 | arm_machine_restart('g'); | 880 | arm_machine_restart('g', NULL); |
880 | } | 881 | } |
881 | 882 | ||
882 | static void tosa_restart(char mode) | 883 | static void tosa_restart(char mode, const char *cmd) |
883 | { | 884 | { |
884 | /* Bootloader magic for a reboot */ | 885 | /* Bootloader magic for a reboot */ |
885 | if((MSC0 & 0xffff0000) == 0x7ff00000) | 886 | if((MSC0 & 0xffff0000) == 0x7ff00000) |
@@ -914,12 +915,13 @@ static void __init tosa_init(void) | |||
914 | pxa_set_udc_info(&udc_info); | 915 | pxa_set_udc_info(&udc_info); |
915 | pxa_set_ficp_info(&tosa_ficp_platform_data); | 916 | pxa_set_ficp_info(&tosa_ficp_platform_data); |
916 | pxa_set_i2c_info(NULL); | 917 | pxa_set_i2c_info(NULL); |
918 | pxa_set_ac97_info(NULL); | ||
917 | platform_scoop_config = &tosa_pcmcia_config; | 919 | platform_scoop_config = &tosa_pcmcia_config; |
918 | 920 | ||
919 | pxa2xx_set_spi_info(2, &pxa_ssp_master_info); | 921 | pxa2xx_set_spi_info(2, &pxa_ssp_master_info); |
920 | spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); | 922 | spi_register_board_info(spi_board_info, ARRAY_SIZE(spi_board_info)); |
921 | 923 | ||
922 | clk_add_alias("CLK_CK3P6MI", &tc6393xb_device.dev, "GPIO11_CLK", NULL); | 924 | clk_add_alias("CLK_CK3P6MI", tc6393xb_device.name, "GPIO11_CLK", NULL); |
923 | 925 | ||
924 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 926 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
925 | } | 927 | } |