aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c6410
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2009-01-30 09:53:44 +0000
committerAndy Green <agreen@octopus.localdomain>2009-01-30 09:53:44 +0000
commit288e42c9ff4fec4beceacac9365f45eb6560ba3c (patch)
treec862d96b8f287494c93f334367d13251d1ee4eef /arch/arm/mach-s3c6410
parent88c1918a71b934844780b217d931485c497fc6b4 (diff)
fix-s3c6410-hsusb-platform-init.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r--arch/arm/mach-s3c6410/mach-om-gta03.c4
-rw-r--r--arch/arm/mach-s3c6410/mach-smdk6410.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c6410/mach-om-gta03.c b/arch/arm/mach-s3c6410/mach-om-gta03.c
index 211ae668eb0..413a823c8f7 100644
--- a/arch/arm/mach-s3c6410/mach-om-gta03.c
+++ b/arch/arm/mach-s3c6410/mach-om-gta03.c
@@ -71,6 +71,8 @@
#include <linux/mfd/pcf50633/gpio.h>
#include <linux/mfd/pcf50633/pmic.h>
+#include <plat/regs-usb-hs-otg.h>
+
extern struct platform_device s3c_device_usbgadget;
@@ -705,7 +707,7 @@ struct platform_device gta03_device_spi_lcm = {
extern void s3c64xx_init_io(struct map_desc *, int);
struct s3c_plat_otg_data s3c_hs_otg_plat_data = {
- .phyclk = 2, /* 12MHz osc */
+ .phyclk = REF_CLK_OSCC
};
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c
index 98f4a5bec77..deec6eb495a 100644
--- a/arch/arm/mach-s3c6410/mach-smdk6410.c
+++ b/arch/arm/mach-s3c6410/mach-smdk6410.c
@@ -183,7 +183,7 @@ static void __init smdk6410_map_io(void)
}
struct s3c_plat_otg_data s3c_hs_otg_plat_data = {
- .phyclk = REF_CLK_OSCC | 2, /* 12MHz osc */
+ .phyclk = REF_CLK_OSCC
};