summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2015-10-25 13:18:12 +0530
committerTom Rini <trini@konsulko.com>2015-11-12 15:58:59 -0500
commit4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041 (patch)
tree30599915c73d432792877813ef721a3053b89b19
parent5e0efc1bc6e358efcf6cd234192a0eead21d760f (diff)
downloadu-boot-imx-4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041.zip
u-boot-imx-4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041.tar.gz
u-boot-imx-4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041.tar.bz2
driver: gpio: hikey: Fix pointer conversion warnings for hikey
Fix below compilation warnings- drivers/gpio/hi6220_gpio.c: In function ‘hi6220_gpio_probe’: drivers/gpio/hi6220_gpio.c:82:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bank->base = (u8 *)plat->base; Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
-rw-r--r--arch/arm/include/asm/arch-hi6220/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-hi6220/gpio.h b/arch/arm/include/asm/arch-hi6220/gpio.h
index 4fafaef..29ace17 100644
--- a/arch/arm/include/asm/arch-hi6220/gpio.h
+++ b/arch/arm/include/asm/arch-hi6220/gpio.h
@@ -21,7 +21,7 @@ struct gpio_bank {
/* Information about a GPIO bank */
struct hikey_gpio_platdata {
int bank_index;
- unsigned int base; /* address of registers in physical memory */
+ ulong base; /* address of registers in physical memory */
};
#endif /* _HI6220_GPIO_H_ */