S5P: serial: Use the inline function instead of static value
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-s5pc1xx / uart.h
index f6eeab4..1c56739 100644 (file)
@@ -48,7 +48,10 @@ struct s5p_uart {
        unsigned char   res3[0x3d0];
 };
 
-static int use_divslot = 1;
+static inline int s5p_uart_divslot(void)
+{
+       return 1;
+}
 
 #endif /* __ASSEMBLY__ */