diff options
| author | Ben Dooks <[email protected]> | 2016-06-07 16:22:17 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-06-08 12:04:35 +0000 |
| commit | b66b2a0adf0e48973b582e055758b9907a7eee7c (patch) | |
| tree | a08437ee34b580621d6850608912fef180380c85 /fs/jbd2/commit.c | |
| parent | gpio: select ANON_INODES (diff) | |
| download | kernel-b66b2a0adf0e48973b582e055758b9907a7eee7c.tar.gz kernel-b66b2a0adf0e48973b582e055758b9907a7eee7c.zip | |
gpio: bcm-kona: fix bcm_kona_gpio_reset() warnings
The bcm_kona_gpio_reset() calls bcm_kona_gpio_write_lock_regs()
with what looks like the wrong parameter. The write_lock_regs
function takes a pointer to the registers, not the bcm_kona_gpio
structure.
Fix the warning, and probably bug by changing the function to
pass reg_base instead of kona_gpio, fixing the following warning:
drivers/gpio/gpio-bcm-kona.c:550:47: warning: incorrect type in argument 1
(different address spaces)
expected void [noderef] <asn:2>*reg_base
got struct bcm_kona_gpio *kona_gpio
warning: incorrect type in argument 1 (different address spaces)
expected void [noderef] <asn:2>*reg_base
got struct bcm_kona_gpio *kona_gpio
Cc: [email protected]
Signed-off-by: Ben Dooks <[email protected]>
Acked-by: Ray Jui <[email protected]>
Reviewed-by: Markus Mayer <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
