diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-11-03 20:51:42 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-18 17:26:14 +0100 |
commit | bdd4915a9f05ef6b41b51910b199f2668f20d2ef (patch) | |
tree | f8fb786b8a73866af97f9d10a5799bd1d1740586 /arch/arm/plat-s3c | |
parent | [ARM] S3C: Update number of serial ports (diff) | |
download | linux-bdd4915a9f05ef6b41b51910b199f2668f20d2ef.tar.xz linux-bdd4915a9f05ef6b41b51910b199f2668f20d2ef.zip |
[ARM] S3C: Update CONFIG_SERIAL_SAMSUNG_UARTS handling
Fix the usage of CONFIG_SERIAL_SAMSUNG_UARTS in several places
in the kernel where it had been missed. This finishes fixing a
long standing issue where S3C2443 and S3C64XX could not use the
4th UART
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c')
-rw-r--r-- | arch/arm/plat-s3c/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/init.c b/arch/arm/plat-s3c/init.c index 85f086ee930a..da8d089f6dbc 100644 --- a/arch/arm/plat-s3c/init.c +++ b/arch/arm/plat-s3c/init.c @@ -91,7 +91,7 @@ void __init s3c24xx_init_clocks(int xtal) static int nr_uarts __initdata = 0; -static struct s3c2410_uartcfg uart_cfgs[3]; +static struct s3c2410_uartcfg uart_cfgs[CONFIG_SERIAL_SAMSUNG_UARTS]; /* s3c24xx_init_uartdevs * |