summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-s5pc1xx/pwm.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2009-10-15 11:19:15 +0900
committerTom Rix <Tom.Rix@windriver.com>2009-10-24 09:55:25 -0500
commitf3807374787e4394efb767e2e8527887f57e51b8 (patch)
tree1e3295f40e09b1221261fdce4831cb4ebc9334f5 /include/asm-arm/arch-s5pc1xx/pwm.h
parent8003c361deec3ee651451662efd05352f1abdd40 (diff)
downloadu-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/pwm.h')
-rw-r--r--include/asm-arm/arch-s5pc1xx/pwm.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/asm-arm/arch-s5pc1xx/pwm.h b/include/asm-arm/arch-s5pc1xx/pwm.h
index 53c23cd..e02a8d8 100644
--- a/include/asm-arm/arch-s5pc1xx/pwm.h
+++ b/include/asm-arm/arch-s5pc1xx/pwm.h
@@ -35,24 +35,24 @@
#ifndef __ASSEMBLY__
struct s5pc1xx_timer {
- unsigned long tcfg0;
- unsigned long tcfg1;
- unsigned long tcon;
- unsigned long tcntb0;
- unsigned long tcmpb0;
- unsigned long tcnto0;
- unsigned long tcntb1;
- unsigned long tcmpb1;
- unsigned long tcnto1;
- unsigned long tcntb2;
- unsigned long tcmpb2;
- unsigned long tcnto2;
- unsigned long tcntb3;
- unsigned long res1;
- unsigned long tcnto3;
- unsigned long tcntb4;
- unsigned long tcnto4;
- unsigned long tintcstat;
+ unsigned int tcfg0;
+ unsigned int tcfg1;
+ unsigned int tcon;
+ unsigned int tcntb0;
+ unsigned int tcmpb0;
+ unsigned int tcnto0;
+ unsigned int tcntb1;
+ unsigned int tcmpb1;
+ unsigned int tcnto1;
+ unsigned int tcntb2;
+ unsigned int tcmpb2;
+ unsigned int tcnto2;
+ unsigned int tcntb3;
+ unsigned int res1;
+ unsigned int tcnto3;
+ unsigned int tcntb4;
+ unsigned int tcnto4;
+ unsigned int tintcstat;
};
#endif /* __ASSEMBLY__ */