diff options
author | Álvaro Fernández Rojas <[email protected]> | 2021-03-30 12:32:25 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-03-31 14:33:48 +0200 |
commit | 1978d88cdc8eb0986d36cac0e9541220fa71d87d (patch) | |
tree | be1dfe3a89c7897ecd330e2f7ebe5a306cf7f5a7 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 762bee3e3e9f42cafdb3ead64b7aee37f9b7369f (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions