diff options
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-goni.c')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-goni.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index bf5087c2b7fe..822a55950685 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c | |||
@@ -859,12 +859,19 @@ static struct s5p_platform_fimc goni_fimc_md_platdata __initdata = { | |||
859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), | 859 | .num_clients = ARRAY_SIZE(goni_camera_sensors), |
860 | }; | 860 | }; |
861 | 861 | ||
862 | /* Audio device */ | ||
863 | static struct platform_device goni_device_audio = { | ||
864 | .name = "smdk-audio", | ||
865 | .id = -1, | ||
866 | }; | ||
867 | |||
862 | static struct platform_device *goni_devices[] __initdata = { | 868 | static struct platform_device *goni_devices[] __initdata = { |
863 | &s3c_device_fb, | 869 | &s3c_device_fb, |
864 | &s5p_device_onenand, | 870 | &s5p_device_onenand, |
865 | &goni_spi_gpio, | 871 | &goni_spi_gpio, |
866 | &goni_i2c_gpio_pmic, | 872 | &goni_i2c_gpio_pmic, |
867 | &goni_i2c_gpio5, | 873 | &goni_i2c_gpio5, |
874 | &goni_device_audio, | ||
868 | &mmc2_fixed_voltage, | 875 | &mmc2_fixed_voltage, |
869 | &goni_device_gpiokeys, | 876 | &goni_device_gpiokeys, |
870 | &s5p_device_mfc, | 877 | &s5p_device_mfc, |
@@ -901,7 +908,7 @@ static void __init goni_sound_init(void) | |||
901 | static void __init goni_map_io(void) | 908 | static void __init goni_map_io(void) |
902 | { | 909 | { |
903 | s5pv210_init_io(NULL, 0); | 910 | s5pv210_init_io(NULL, 0); |
904 | s3c24xx_init_clocks(24000000); | 911 | s3c24xx_init_clocks(clk_xusbxti.rate); |
905 | s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs)); | 912 | s3c24xx_init_uarts(goni_uartcfgs, ARRAY_SIZE(goni_uartcfgs)); |
906 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); | 913 | s5p_set_timer_source(S5P_PWM3, S5P_PWM4); |
907 | } | 914 | } |
@@ -959,8 +966,6 @@ static void __init goni_machine_init(void) | |||
959 | /* KEYPAD */ | 966 | /* KEYPAD */ |
960 | samsung_keypad_set_platdata(&keypad_data); | 967 | samsung_keypad_set_platdata(&keypad_data); |
961 | 968 | ||
962 | clk_xusbxti.rate = 24000000; | ||
963 | |||
964 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); | 969 | platform_add_devices(goni_devices, ARRAY_SIZE(goni_devices)); |
965 | } | 970 | } |
966 | 971 | ||