diff options
author | Nicholas Krause <xerofoify@gmail.com> | 2015-07-04 16:34:32 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-07-16 13:59:47 +0200 |
commit | 54442658d8e83b0589731620bd958cc8b2857167 (patch) | |
tree | 63dd2392bcd2fe289c8dcc109bf59d4f5b7405a0 /drivers/gpio/gpiolib-of.c | |
parent | 3726960edc63bb1e09678841df44b44feee20305 (diff) | |
download | linux-stable-54442658d8e83b0589731620bd958cc8b2857167.tar.gz linux-stable-54442658d8e83b0589731620bd958cc8b2857167.tar.bz2 linux-stable-54442658d8e83b0589731620bd958cc8b2857167.zip |
gpio: 74xx: Fix build warning about void to integer cast
This fixes the build warning , warning: cast from pointer to integer
of different size when building this file on a x86 allmodconfig
configuration. In order for me to fix this build warning I changed
the cast in the function mmio_74xx_gpio_probe from casting the
variable data of the stucture pointer of_id to uintptr_t rather
then unsigned when assigning to the variable flag of the structure
pointer priv of the structure type mmio_74xx_gpio_priv.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions