diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-08-14 16:24:01 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-08-14 16:24:01 +0200 |
commit | c378aa275e1476218a6b438056a4cd48eb1eca0f (patch) | |
tree | 48d19b078758cbab638aeb8ab2978be05232290b /arch/arm/mach-s3c6410 | |
parent | Merge branch 'next-s3c24xx-cpufreq' into next-s3c (diff) | |
parent | ARM: S3C64XX: Add address mapping for AC97 controller (diff) | |
download | linux-c378aa275e1476218a6b438056a4cd48eb1eca0f.tar.xz linux-c378aa275e1476218a6b438056a4cd48eb1eca0f.zip |
Merge branch 'next-s3c64xx' into next-s3c
Diffstat (limited to 'arch/arm/mach-s3c6410')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-ncp.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 26 |
2 files changed, 21 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c6410/mach-ncp.c b/arch/arm/mach-s3c6410/mach-ncp.c index 6030636f8548..55e9bbfaf68b 100644 --- a/arch/arm/mach-s3c6410/mach-ncp.c +++ b/arch/arm/mach-s3c6410/mach-ncp.c @@ -79,7 +79,7 @@ static struct platform_device *ncp_devices[] __initdata = { &s3c_device_i2c0, }; -struct map_desc ncp_iodesc[] = {}; +static struct map_desc ncp_iodesc[] __initdata = {}; static void __init ncp_map_io(void) { diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index bc9a7dea567f..ea51dbe76e3e 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -65,16 +65,30 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = { [0] = { .hwport = 0, .flags = 0, - .ucon = 0x3c5, - .ulcon = 0x03, - .ufcon = 0x51, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, }, [1] = { .hwport = 1, .flags = 0, - .ucon = 0x3c5, - .ulcon = 0x03, - .ufcon = 0x51, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, + }, + [2] = { + .hwport = 2, + .flags = 0, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, + }, + [3] = { + .hwport = 3, + .flags = 0, + .ucon = UCON, + .ulcon = ULCON, + .ufcon = UFCON, }, }; |