Commit 4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041
Committed by
Tom Rini
1 parent
5e0efc1bc6
Exists in
v2017.01-smarct4x
and in
30 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/arm/include/asm/arch-hi6220/gpio.h
... | ... | @@ -21,7 +21,7 @@ |
21 | 21 | /* Information about a GPIO bank */ |
22 | 22 | struct hikey_gpio_platdata { |
23 | 23 | int bank_index; |
24 | - unsigned int base; /* address of registers in physical memory */ | |
24 | + ulong base; /* address of registers in physical memory */ | |
25 | 25 | }; |
26 | 26 | |
27 | 27 | #endif /* _HI6220_GPIO_H_ */ |