diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2009-10-15 11:19:15 +0900 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-24 09:55:25 -0500 |
commit | f3807374787e4394efb767e2e8527887f57e51b8 (patch) | |
tree | 1e3295f40e09b1221261fdce4831cb4ebc9334f5 /include/asm-arm/arch-s5pc1xx/uart.h | |
parent | 8003c361deec3ee651451662efd05352f1abdd40 (diff) | |
download | u-boot-imx-f3807374787e4394efb767e2e8527887f57e51b8.zip u-boot-imx-f3807374787e4394efb767e2e8527887f57e51b8.tar.gz u-boot-imx-f3807374787e4394efb767e2e8527887f57e51b8.tar.bz2 |
s5pc1xx: SMDKC100: fix compile warnings
fix the following compile warnings
warning: dereferencing type-punned pointer will break strict-aliasing rules
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/asm-arm/arch-s5pc1xx/uart.h')
-rw-r--r-- | include/asm-arm/arch-s5pc1xx/uart.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/asm-arm/arch-s5pc1xx/uart.h b/include/asm-arm/arch-s5pc1xx/uart.h index bd7d6b2..140dbdc 100644 --- a/include/asm-arm/arch-s5pc1xx/uart.h +++ b/include/asm-arm/arch-s5pc1xx/uart.h @@ -25,19 +25,19 @@ #ifndef __ASSEMBLY__ struct s5pc1xx_uart { - unsigned long ulcon; - unsigned long ucon; - unsigned long ufcon; - unsigned long umcon; - unsigned long utrstat; - unsigned long uerstat; - unsigned long ufstat; - unsigned long umstat; + unsigned int ulcon; + unsigned int ucon; + unsigned int ufcon; + unsigned int umcon; + unsigned int utrstat; + unsigned int uerstat; + unsigned int ufstat; + unsigned int umstat; unsigned char utxh; unsigned char res1[3]; unsigned char urxh; unsigned char res2[3]; - unsigned long ubrdiv; + unsigned int ubrdiv; unsigned short udivslot; unsigned char res3[2]; unsigned char res4[0x3d0]; |