S5P: serial: Use the inline function instead of static value
[oweals/u-boot.git] / drivers / serial / serial.c
index dd5f332ba93a3c467603dca91915e32db93504de..cd3439ee6a23d9b54089396d244e070dbf795ee6 100644 (file)
 #endif
 #ifdef CONFIG_KIRKWOOD
 #include <asm/arch/kirkwood.h>
+#elif defined(CONFIG_ORION5X)
+#include <asm/arch/orion5x.h>
+#elif defined(CONFIG_ARMADA100)
+#include <asm/arch/armada100.h>
 #endif
 
 #if defined (CONFIG_SERIAL_MULTI)
@@ -115,6 +119,7 @@ static NS16550_t serial_ports[4] = {
        name,\
        bus,\
        eserial##port##_init,\
+       NULL,\
        eserial##port##_setbrg,\
        eserial##port##_getc,\
        eserial##port##_tstc,\