Merge master.kernel.org:/home/rmk/linux-2.6-arm
[cascardo/linux.git] / arch / arm / plat-s3c / init.c
index 85f086e..6790edf 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/ioport.h>
 #include <linux/serial_core.h>
 #include <linux/platform_device.h>
-#include <linux/delay.h>
 
 #include <mach/hardware.h>
 
@@ -91,7 +90,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
  *