summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2011-01-24 14:43:25 +0900
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:45 +0100
commite0617c621def4bea5c6013dbc698ecf4f75d97c1 (patch)
tree9b45edee7df0a833b302e6bca5f7c64cd4e325d0 /arch/arm/include/asm
parent5eb522a68c3573419f42e321dccf4b01b584dbe8 (diff)
downloadu-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.zip
u-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.tar.gz
u-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.tar.bz2
S5P: serial: Use the inline function instead of static value
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/uart.h5
1 files changed, 4 insertions, 1 deletions
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 @@ struct s5p_uart {
unsigned char res3[0x3d0];
};
-static int use_divslot = 1;
+static inline int s5p_uart_divslot(void)
+{
+ return 1;
+}
#endif /* __ASSEMBLY__ */