The flags of struct s3c2410_uartcfg is assigned to 0 to the all samsung arch machines and it isn't used by samsung uart driver. Signed-off-by: Joonyoung Shim <jy0922.shim@xxxxxxxxxxx> Signed-off-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx> --- This v2 patch is rebased at latest mainline kernel. arch/arm/mach-s3c2410/mach-amlm5900.c | 3 --- arch/arm/mach-s3c2410/mach-bast.c | 3 --- arch/arm/mach-s3c2410/mach-h1940.c | 3 --- arch/arm/mach-s3c2410/mach-n30.c | 3 --- arch/arm/mach-s3c2410/mach-otom.c | 3 --- arch/arm/mach-s3c2410/mach-qt2410.c | 3 --- arch/arm/mach-s3c2410/mach-smdk2410.c | 3 --- arch/arm/mach-s3c2410/mach-tct_hammer.c | 3 --- arch/arm/mach-s3c2410/mach-vr1000.c | 3 --- arch/arm/mach-s3c2412/mach-jive.c | 3 --- arch/arm/mach-s3c2412/mach-smdk2413.c | 3 --- arch/arm/mach-s3c2412/mach-vstms.c | 3 --- arch/arm/mach-s3c2416/mach-smdk2416.c | 3 --- arch/arm/mach-s3c2440/mach-anubis.c | 2 -- arch/arm/mach-s3c2440/mach-at2440evb.c | 2 -- arch/arm/mach-s3c2440/mach-gta02.c | 3 --- arch/arm/mach-s3c2440/mach-mini2440.c | 3 --- arch/arm/mach-s3c2440/mach-nexcoder.c | 3 --- arch/arm/mach-s3c2440/mach-osiris.c | 3 --- arch/arm/mach-s3c2440/mach-rx1950.c | 3 --- arch/arm/mach-s3c2440/mach-rx3715.c | 2 -- arch/arm/mach-s3c2440/mach-smdk2440.c | 3 --- arch/arm/mach-s3c2443/mach-smdk2443.c | 3 --- arch/arm/mach-s3c64xx/mach-anw6410.c | 2 -- arch/arm/mach-s3c64xx/mach-hmt.c | 3 --- arch/arm/mach-s3c64xx/mach-ncp.c | 3 --- arch/arm/mach-s3c64xx/mach-real6410.c | 4 ---- arch/arm/mach-s3c64xx/mach-smartq.c | 3 --- arch/arm/mach-s3c64xx/mach-smdk6400.c | 2 -- arch/arm/mach-s3c64xx/mach-smdk6410.c | 4 ---- arch/arm/mach-s5p6440/mach-smdk6440.c | 4 ---- arch/arm/mach-s5p6442/mach-smdk6442.c | 3 --- arch/arm/mach-s5pc100/mach-smdkc100.c | 4 ---- arch/arm/mach-s5pv210/mach-aquila.c | 4 ---- arch/arm/mach-s5pv210/mach-goni.c | 4 ---- arch/arm/mach-s5pv210/mach-smdkc110.c | 4 ---- arch/arm/mach-s5pv210/mach-smdkv210.c | 4 ---- arch/arm/mach-s5pv310/mach-smdkv310.c | 4 ---- arch/arm/plat-samsung/include/plat/regs-serial.h | 1 - 39 files changed, 0 insertions(+), 119 deletions(-) diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c2410/mach-amlm5900.c index 34fc05a..cc7de3a 100644 --- a/arch/arm/mach-s3c2410/mach-amlm5900.c +++ b/arch/arm/mach-s3c2410/mach-amlm5900.c @@ -125,21 +125,18 @@ static struct map_desc amlm5900_iodesc[] __initdata = { static struct s3c2410_uartcfg amlm5900_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index c1f90f6..75a2df0 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c @@ -183,7 +183,6 @@ static struct s3c24xx_uart_clksrc bast_serial_clocks[] = { static struct s3c2410_uartcfg bast_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -192,7 +191,6 @@ static struct s3c2410_uartcfg bast_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -202,7 +200,6 @@ static struct s3c2410_uartcfg bast_uartcfgs[] __initdata = { /* port 2 is not actually used */ [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 3ba3bab..fe5c025 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c @@ -75,14 +75,12 @@ static struct map_desc h1940_iodesc[] __initdata = { static struct s3c2410_uartcfg h1940_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x245, .ulcon = 0x03, .ufcon = 0x00, @@ -90,7 +88,6 @@ static struct s3c2410_uartcfg h1940_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .uart_flags = UPF_CONS_FLOW, .ucon = 0x3c5, .ulcon = 0x43, diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c index 41f299d..52244cb 100644 --- a/arch/arm/mach-s3c2410/mach-n30.c +++ b/arch/arm/mach-s3c2410/mach-n30.c @@ -59,7 +59,6 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = { /* Normal serial port */ [0] = { .hwport = 0, - .flags = 0, .ucon = 0x2c5, .ulcon = 0x03, .ufcon = 0x51, @@ -67,7 +66,6 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = { /* IR port */ [1] = { .hwport = 1, - .flags = 0, .uart_flags = UPF_CONS_FLOW, .ucon = 0x2c5, .ulcon = 0x43, @@ -77,7 +75,6 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = { * On the N35 and variants the GPS receiver is connected here. */ [2] = { .hwport = 2, - .flags = 0, .ucon = 0x2c5, .ulcon = 0x03, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c2410/mach-otom.c b/arch/arm/mach-s3c2410/mach-otom.c index d8c7f2e..c9925fc 100644 --- a/arch/arm/mach-s3c2410/mach-otom.c +++ b/arch/arm/mach-s3c2410/mach-otom.c @@ -50,14 +50,12 @@ static struct map_desc otom11_iodesc[] __initdata = { static struct s3c2410_uartcfg otom11_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -65,7 +63,6 @@ static struct s3c2410_uartcfg otom11_uartcfgs[] __initdata = { /* port 2 is not actually used */ [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index d0e87b6..a8efc13 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c @@ -74,21 +74,18 @@ static struct map_desc qt2410_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2410_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-smdk2410.c b/arch/arm/mach-s3c2410/mach-smdk2410.c index 4522230..c3aaa31 100644 --- a/arch/arm/mach-s3c2410/mach-smdk2410.c +++ b/arch/arm/mach-s3c2410/mach-smdk2410.c @@ -65,21 +65,18 @@ static struct map_desc smdk2410_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2410_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-tct_hammer.c b/arch/arm/mach-s3c2410/mach-tct_hammer.c index 929164a..78775fd 100644 --- a/arch/arm/mach-s3c2410/mach-tct_hammer.c +++ b/arch/arm/mach-s3c2410/mach-tct_hammer.c @@ -103,21 +103,18 @@ static struct map_desc tct_hammer_iodesc[] __initdata = { static struct s3c2410_uartcfg tct_hammer_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index d540d79..eafcc5f 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c @@ -129,7 +129,6 @@ static struct s3c24xx_uart_clksrc vr1000_serial_clocks[] = { static struct s3c2410_uartcfg vr1000_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -138,7 +137,6 @@ static struct s3c2410_uartcfg vr1000_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -148,7 +146,6 @@ static struct s3c2410_uartcfg vr1000_uartcfgs[] __initdata = { /* port 2 is not actually used */ [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2412/mach-jive.c b/arch/arm/mach-s3c2412/mach-jive.c index 478f4b4..dfe494e 100644 --- a/arch/arm/mach-s3c2412/mach-jive.c +++ b/arch/arm/mach-s3c2412/mach-jive.c @@ -65,21 +65,18 @@ static struct map_desc jive_iodesc[] __initdata = { static struct s3c2410_uartcfg jive_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2412/mach-smdk2413.c b/arch/arm/mach-s3c2412/mach-smdk2413.c index 054c9f9..025fa85 100644 --- a/arch/arm/mach-s3c2412/mach-smdk2413.c +++ b/arch/arm/mach-s3c2412/mach-smdk2413.c @@ -56,14 +56,12 @@ static struct map_desc smdk2413_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2413_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -71,7 +69,6 @@ static struct s3c2410_uartcfg smdk2413_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x43, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c2412/mach-vstms.c b/arch/arm/mach-s3c2412/mach-vstms.c index f291ac2..4d16265 100644 --- a/arch/arm/mach-s3c2412/mach-vstms.c +++ b/arch/arm/mach-s3c2412/mach-vstms.c @@ -55,21 +55,18 @@ static struct map_desc vstms_iodesc[] __initdata = { static struct s3c2410_uartcfg vstms_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [2] = { .hwport = 2, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c2416/mach-smdk2416.c b/arch/arm/mach-s3c2416/mach-smdk2416.c index 5fc3f67..912e64e 100644 --- a/arch/arm/mach-s3c2416/mach-smdk2416.c +++ b/arch/arm/mach-s3c2416/mach-smdk2416.c @@ -91,14 +91,12 @@ static struct map_desc smdk2416_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -106,7 +104,6 @@ static struct s3c2410_uartcfg smdk2416_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON | 0x50, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c index b73f78a..b29a37f 100644 --- a/arch/arm/mach-s3c2440/mach-anubis.c +++ b/arch/arm/mach-s3c2440/mach-anubis.c @@ -115,7 +115,6 @@ static struct s3c24xx_uart_clksrc anubis_serial_clocks[] = { static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -124,7 +123,6 @@ static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = { }, [1] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-at2440evb.c b/arch/arm/mach-s3c2440/mach-at2440evb.c index 8472579..6503ce3 100644 --- a/arch/arm/mach-s3c2440/mach-at2440evb.c +++ b/arch/arm/mach-s3c2440/mach-at2440evb.c @@ -76,7 +76,6 @@ static struct s3c24xx_uart_clksrc at2440evb_serial_clocks[] = { static struct s3c2410_uartcfg at2440evb_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -85,7 +84,6 @@ static struct s3c2410_uartcfg at2440evb_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index deaabe8..e8bfcbc 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -121,21 +121,18 @@ static struct map_desc gta02_iodesc[] __initdata = { static struct s3c2410_uartcfg gta02_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-mini2440.c b/arch/arm/mach-s3c2440/mach-mini2440.c index a76bcda..61d2bf0 100644 --- a/arch/arm/mach-s3c2440/mach-mini2440.c +++ b/arch/arm/mach-s3c2440/mach-mini2440.c @@ -74,21 +74,18 @@ static struct map_desc mini2440_iodesc[] __initdata = { static struct s3c2410_uartcfg mini2440_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-nexcoder.c b/arch/arm/mach-s3c2440/mach-nexcoder.c index 3ff62de..727862c 100644 --- a/arch/arm/mach-s3c2440/mach-nexcoder.c +++ b/arch/arm/mach-s3c2440/mach-nexcoder.c @@ -58,21 +58,18 @@ static struct map_desc nexcoder_iodesc[] __initdata = { static struct s3c2410_uartcfg nexcoder_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index 319458d..0a4af5b 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c @@ -118,7 +118,6 @@ static struct s3c24xx_uart_clksrc osiris_serial_clocks[] = { static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -127,7 +126,6 @@ static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, @@ -136,7 +134,6 @@ static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = { }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c2440/mach-rx1950.c b/arch/arm/mach-s3c2440/mach-rx1950.c index 142d1f9..4928b25 100644 --- a/arch/arm/mach-s3c2440/mach-rx1950.c +++ b/arch/arm/mach-s3c2440/mach-rx1950.c @@ -73,7 +73,6 @@ static struct s3c24xx_uart_clksrc rx1950_serial_clocks[] = { static struct s3c2410_uartcfg rx1950_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -82,7 +81,6 @@ static struct s3c2410_uartcfg rx1950_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -92,7 +90,6 @@ static struct s3c2410_uartcfg rx1950_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x43, .ufcon = 0xf1, diff --git a/arch/arm/mach-s3c2440/mach-rx3715.c b/arch/arm/mach-s3c2440/mach-rx3715.c index 6bb44f7..1476c31 100644 --- a/arch/arm/mach-s3c2440/mach-rx3715.c +++ b/arch/arm/mach-s3c2440/mach-rx3715.c @@ -80,7 +80,6 @@ static struct s3c24xx_uart_clksrc rx3715_serial_clocks[] = { static struct s3c2410_uartcfg rx3715_uartcfgs[] = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -89,7 +88,6 @@ static struct s3c2410_uartcfg rx3715_uartcfgs[] = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x00, diff --git a/arch/arm/mach-s3c2440/mach-smdk2440.c b/arch/arm/mach-s3c2440/mach-smdk2440.c index df83276..b6c9de1 100644 --- a/arch/arm/mach-s3c2440/mach-smdk2440.c +++ b/arch/arm/mach-s3c2440/mach-smdk2440.c @@ -80,14 +80,12 @@ static struct map_desc smdk2440_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2440_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -95,7 +93,6 @@ static struct s3c2410_uartcfg smdk2440_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x43, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c2443/mach-smdk2443.c index 4c863d3..a1c1de0 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c2443/mach-smdk2443.c @@ -80,14 +80,12 @@ static struct map_desc smdk2443_iodesc[] __initdata = { static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, @@ -95,7 +93,6 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = { /* IR port */ [2] = { .hwport = 2, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x43, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c64xx/mach-anw6410.c b/arch/arm/mach-s3c64xx/mach-anw6410.c index 742dc87..b5dcc35 100644 --- a/arch/arm/mach-s3c64xx/mach-anw6410.c +++ b/arch/arm/mach-s3c64xx/mach-anw6410.c @@ -69,14 +69,12 @@ static __u32 anw6410_extdev_status; static struct s3c2410_uartcfg anw6410_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c64xx/mach-hmt.c b/arch/arm/mach-s3c64xx/mach-hmt.c index fba9022..9308372 100644 --- a/arch/arm/mach-s3c64xx/mach-hmt.c +++ b/arch/arm/mach-s3c64xx/mach-hmt.c @@ -50,21 +50,18 @@ static struct s3c2410_uartcfg hmt_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c64xx/mach-ncp.c b/arch/arm/mach-s3c64xx/mach-ncp.c index bf65747..7b9d86e 100644 --- a/arch/arm/mach-s3c64xx/mach-ncp.c +++ b/arch/arm/mach-s3c64xx/mach-ncp.c @@ -53,21 +53,18 @@ static struct s3c2410_uartcfg ncp_uartcfgs[] __initdata = { /* REVISIT: NCP uses only serial 1, 2 */ [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c64xx/mach-real6410.c b/arch/arm/mach-s3c64xx/mach-real6410.c index 5c07d01..ceec844 100644 --- a/arch/arm/mach-s3c64xx/mach-real6410.c +++ b/arch/arm/mach-s3c64xx/mach-real6410.c @@ -37,28 +37,24 @@ static struct s3c2410_uartcfg real6410_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .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, diff --git a/arch/arm/mach-s3c64xx/mach-smartq.c b/arch/arm/mach-s3c64xx/mach-smartq.c index 3a9639b..7bfd6d7 100644 --- a/arch/arm/mach-s3c64xx/mach-smartq.c +++ b/arch/arm/mach-s3c64xx/mach-smartq.c @@ -47,21 +47,18 @@ static struct s3c2410_uartcfg smartq_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [2] = { .hwport = 2, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, diff --git a/arch/arm/mach-s3c64xx/mach-smdk6400.c b/arch/arm/mach-s3c64xx/mach-smdk6400.c index 5991667..15269ae 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6400.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6400.c @@ -44,14 +44,12 @@ static struct s3c2410_uartcfg smdk6400_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, }, [1] = { .hwport = 1, - .flags = 0, .ucon = 0x3c5, .ulcon = 0x03, .ufcon = 0x51, diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c index d498219..920e7fe 100644 --- a/arch/arm/mach-s3c64xx/mach-smdk6410.c +++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c @@ -77,28 +77,24 @@ static struct s3c2410_uartcfg smdk6410_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, }, [1] = { .hwport = 1, - .flags = 0, .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, diff --git a/arch/arm/mach-s5p6440/mach-smdk6440.c b/arch/arm/mach-s5p6440/mach-smdk6440.c index 9202aaa..70bb994 100644 --- a/arch/arm/mach-s5p6440/mach-smdk6440.c +++ b/arch/arm/mach-s5p6440/mach-smdk6440.c @@ -59,28 +59,24 @@ static struct s3c2410_uartcfg smdk6440_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDK6440_UCON_DEFAULT, .ulcon = SMDK6440_ULCON_DEFAULT, .ufcon = SMDK6440_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDK6440_UCON_DEFAULT, .ulcon = SMDK6440_ULCON_DEFAULT, .ufcon = SMDK6440_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDK6440_UCON_DEFAULT, .ulcon = SMDK6440_ULCON_DEFAULT, .ufcon = SMDK6440_UFCON_DEFAULT, }, [3] = { .hwport = 3, - .flags = 0, .ucon = SMDK6440_UCON_DEFAULT, .ulcon = SMDK6440_ULCON_DEFAULT, .ufcon = SMDK6440_UFCON_DEFAULT, diff --git a/arch/arm/mach-s5p6442/mach-smdk6442.c b/arch/arm/mach-s5p6442/mach-smdk6442.c index 8d8d042..150a590 100644 --- a/arch/arm/mach-s5p6442/mach-smdk6442.c +++ b/arch/arm/mach-s5p6442/mach-smdk6442.c @@ -43,21 +43,18 @@ static struct s3c2410_uartcfg smdk6442_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDK6442_UCON_DEFAULT, .ulcon = SMDK6442_ULCON_DEFAULT, .ufcon = SMDK6442_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDK6442_UCON_DEFAULT, .ulcon = SMDK6442_ULCON_DEFAULT, .ufcon = SMDK6442_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDK6442_UCON_DEFAULT, .ulcon = SMDK6442_ULCON_DEFAULT, .ufcon = SMDK6442_UFCON_DEFAULT, diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c index 020c3f9..27d811c 100644 --- a/arch/arm/mach-s5pc100/mach-smdkc100.c +++ b/arch/arm/mach-s5pc100/mach-smdkc100.c @@ -65,28 +65,24 @@ static struct s3c2410_uartcfg smdkc100_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDKC100_UCON_DEFAULT, .ulcon = SMDKC100_ULCON_DEFAULT, .ufcon = SMDKC100_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDKC100_UCON_DEFAULT, .ulcon = SMDKC100_ULCON_DEFAULT, .ufcon = SMDKC100_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDKC100_UCON_DEFAULT, .ulcon = SMDKC100_ULCON_DEFAULT, .ufcon = SMDKC100_UFCON_DEFAULT, }, [3] = { .hwport = 3, - .flags = 0, .ucon = SMDKC100_UCON_DEFAULT, .ulcon = SMDKC100_ULCON_DEFAULT, .ufcon = SMDKC100_UFCON_DEFAULT, diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index 7b66cea..6fcd1d8 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c @@ -54,7 +54,6 @@ static struct s3c2410_uartcfg aquila_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = AQUILA_UCON_DEFAULT, .ulcon = AQUILA_ULCON_DEFAULT, /* @@ -66,7 +65,6 @@ static struct s3c2410_uartcfg aquila_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = AQUILA_UCON_DEFAULT, .ulcon = AQUILA_ULCON_DEFAULT, .ufcon = AQUILA_UFCON_DEFAULT | @@ -74,7 +72,6 @@ static struct s3c2410_uartcfg aquila_uartcfgs[] __initdata = { }, [2] = { .hwport = 2, - .flags = 0, .ucon = AQUILA_UCON_DEFAULT, .ulcon = AQUILA_ULCON_DEFAULT, .ufcon = AQUILA_UFCON_DEFAULT | @@ -82,7 +79,6 @@ static struct s3c2410_uartcfg aquila_uartcfgs[] __initdata = { }, [3] = { .hwport = 3, - .flags = 0, .ucon = AQUILA_UCON_DEFAULT, .ulcon = AQUILA_ULCON_DEFAULT, .ufcon = AQUILA_UFCON_DEFAULT | diff --git a/arch/arm/mach-s5pv210/mach-goni.c b/arch/arm/mach-s5pv210/mach-goni.c index 53754d7..a88441c 100644 --- a/arch/arm/mach-s5pv210/mach-goni.c +++ b/arch/arm/mach-s5pv210/mach-goni.c @@ -52,7 +52,6 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = GONI_UCON_DEFAULT, .ulcon = GONI_ULCON_DEFAULT, .ufcon = GONI_UFCON_DEFAULT | @@ -60,7 +59,6 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { }, [1] = { .hwport = 1, - .flags = 0, .ucon = GONI_UCON_DEFAULT, .ulcon = GONI_ULCON_DEFAULT, .ufcon = GONI_UFCON_DEFAULT | @@ -68,7 +66,6 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { }, [2] = { .hwport = 2, - .flags = 0, .ucon = GONI_UCON_DEFAULT, .ulcon = GONI_ULCON_DEFAULT, .ufcon = GONI_UFCON_DEFAULT | @@ -76,7 +73,6 @@ static struct s3c2410_uartcfg goni_uartcfgs[] __initdata = { }, [3] = { .hwport = 3, - .flags = 0, .ucon = GONI_UCON_DEFAULT, .ulcon = GONI_ULCON_DEFAULT, .ufcon = GONI_UFCON_DEFAULT | diff --git a/arch/arm/mach-s5pv210/mach-smdkc110.c b/arch/arm/mach-s5pv210/mach-smdkc110.c index 8211bb8..34a8047 100644 --- a/arch/arm/mach-s5pv210/mach-smdkc110.c +++ b/arch/arm/mach-s5pv210/mach-smdkc110.c @@ -46,28 +46,24 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDKC110_UCON_DEFAULT, .ulcon = SMDKC110_ULCON_DEFAULT, .ufcon = SMDKC110_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDKC110_UCON_DEFAULT, .ulcon = SMDKC110_ULCON_DEFAULT, .ufcon = SMDKC110_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDKC110_UCON_DEFAULT, .ulcon = SMDKC110_ULCON_DEFAULT, .ufcon = SMDKC110_UFCON_DEFAULT, }, [3] = { .hwport = 3, - .flags = 0, .ucon = SMDKC110_UCON_DEFAULT, .ulcon = SMDKC110_ULCON_DEFAULT, .ufcon = SMDKC110_UFCON_DEFAULT, diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index fbbc0a3..e46e4a0 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c @@ -49,28 +49,24 @@ static struct s3c2410_uartcfg smdkv210_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDKV210_UCON_DEFAULT, .ulcon = SMDKV210_ULCON_DEFAULT, .ufcon = SMDKV210_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDKV210_UCON_DEFAULT, .ulcon = SMDKV210_ULCON_DEFAULT, .ufcon = SMDKV210_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDKV210_UCON_DEFAULT, .ulcon = SMDKV210_ULCON_DEFAULT, .ufcon = SMDKV210_UFCON_DEFAULT, }, [3] = { .hwport = 3, - .flags = 0, .ucon = SMDKV210_UCON_DEFAULT, .ulcon = SMDKV210_ULCON_DEFAULT, .ufcon = SMDKV210_UFCON_DEFAULT, diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c b/arch/arm/mach-s5pv310/mach-smdkv310.c index 0d6ab77..fe725b0 100644 --- a/arch/arm/mach-s5pv310/mach-smdkv310.c +++ b/arch/arm/mach-s5pv310/mach-smdkv310.c @@ -37,28 +37,24 @@ static struct s3c2410_uartcfg smdkv310_uartcfgs[] __initdata = { [0] = { .hwport = 0, - .flags = 0, .ucon = SMDKV310_UCON_DEFAULT, .ulcon = SMDKV310_ULCON_DEFAULT, .ufcon = SMDKV310_UFCON_DEFAULT, }, [1] = { .hwport = 1, - .flags = 0, .ucon = SMDKV310_UCON_DEFAULT, .ulcon = SMDKV310_ULCON_DEFAULT, .ufcon = SMDKV310_UFCON_DEFAULT, }, [2] = { .hwport = 2, - .flags = 0, .ucon = SMDKV310_UCON_DEFAULT, .ulcon = SMDKV310_ULCON_DEFAULT, .ufcon = SMDKV310_UFCON_DEFAULT, }, [3] = { .hwport = 3, - .flags = 0, .ucon = SMDKV310_UCON_DEFAULT, .ulcon = SMDKV310_ULCON_DEFAULT, .ufcon = SMDKV310_UFCON_DEFAULT, diff --git a/arch/arm/plat-samsung/include/plat/regs-serial.h b/arch/arm/plat-samsung/include/plat/regs-serial.h index 788837e..b17a2cf 100644 --- a/arch/arm/plat-samsung/include/plat/regs-serial.h +++ b/arch/arm/plat-samsung/include/plat/regs-serial.h @@ -256,7 +256,6 @@ struct s3c24xx_uart_clksrc { struct s3c2410_uartcfg { unsigned char hwport; /* hardware port number */ unsigned char unused; - unsigned short flags; upf_t uart_flags; /* default uart flags */ unsigned int has_fracval; -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html