summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-s5pc1xx/gpio.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/gpio.h
parent8003c361deec3ee651451662efd05352f1abdd40 (diff)
downloadblackbird-obmc-uboot-f3807374787e4394efb767e2e8527887f57e51b8.tar.gz
blackbird-obmc-uboot-f3807374787e4394efb767e2e8527887f57e51b8.zip
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/gpio.h')
-rw-r--r--include/asm-arm/arch-s5pc1xx/gpio.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/asm-arm/arch-s5pc1xx/gpio.h b/include/asm-arm/arch-s5pc1xx/gpio.h
index 0010405315..afbc7ea5ae 100644
--- a/include/asm-arm/arch-s5pc1xx/gpio.h
+++ b/include/asm-arm/arch-s5pc1xx/gpio.h
@@ -23,12 +23,12 @@
#ifndef __ASSEMBLY__
struct s5pc1xx_gpio_bank {
- unsigned long con;
- unsigned long dat;
- unsigned long pull;
- unsigned long drv;
- unsigned long pdn_con;
- unsigned long pdn_pull;
+ unsigned int con;
+ unsigned int dat;
+ unsigned int pull;
+ unsigned int drv;
+ unsigned int pdn_con;
+ unsigned int pdn_pull;
unsigned char res1[8];
};
OpenPOWER on IntegriCloud