diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2021-03-30 13:32:25 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-03-31 15:33:48 +0300 |
commit | 1978d88cdc8eb0986d36cac0e9541220fa71d87d (patch) | |
tree | be1dfe3a89c7897ecd330e2f7ebe5a306cf7f5a7 /include | |
parent | 762bee3e3e9f42cafdb3ead64b7aee37f9b7369f (diff) | |
download | linux-1978d88cdc8eb0986d36cac0e9541220fa71d87d.tar.xz |
pinctrl: bcm: bcm6362: fix warning
The current implementation of bcm6362_set_gpio() produces the following
warning on x86_64:
drivers/pinctrl/bcm/pinctrl-bcm6362.c: In function 'bcm6362_set_gpio':
drivers/pinctrl/bcm/pinctrl-bcm6362.c:503:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
503 | (uint32_t) desc->drv_data, 0);
| ^
Modify the code to make it similar to bcm63268_set_gpio() in order to fix
the warning.
Fixes: 705791e23ecd ("pinctrl: add a pincontrol driver for BCM6362")
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Link: https://lore.kernel.org/r/20210330103225.3949-1-noltari@gmail.com
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions