commit | afae8aa4e59fcecc540276b7ba2f1923d0b5585c | [log] [tgz] |
---|---|---|
author | Minkyu Kang <mk7.kang@samsung.com> | Mon Jan 24 14:43:25 2011 +0900 |
committer | Albert Aribaud <albert.aribaud@free.fr> | Wed Feb 02 00:54:45 2011 +0100 |
tree | 9b45edee7df0a833b302e6bca5f7c64cd4e325d0 | |
parent | c78522aeb2b3ff00c18d585cbb20f73f4eadc837 [diff] [blame] |
S5P: serial: Use the inline function instead of static value Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
diff --git a/arch/arm/include/asm/arch-s5pc1xx/uart.h b/arch/arm/include/asm/arch-s5pc1xx/uart.h index f6eeab4..1c56739 100644 --- a/arch/arm/include/asm/arch-s5pc1xx/uart.h +++ b/arch/arm/include/asm/arch-s5pc1xx/uart.h
@@ -48,7 +48,10 @@ unsigned char res3[0x3d0]; }; -static int use_divslot = 1; +static inline int s5p_uart_divslot(void) +{ + return 1; +} #endif /* __ASSEMBLY__ */