]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-s5pc1xx/uart.h
S5P: serial: Use the inline function instead of static value
[u-boot] / arch / arm / include / asm / arch-s5pc1xx / uart.h
index f6eeab45cdc23f4fe7da73226b72f80f52d37ff5..1c56739f72f192388537116b62f3e58e3e7186e1 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__ */