Ben Dooks
e1c35534e3
gpio: bcm-kona: fix bcm_kona_gpio_reset() warnings
...
commit b66b2a0adf upstream.
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
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk >
Acked-by: Ray Jui <ray.jui@broadcom.com >
Reviewed-by: Markus Mayer <mmayer@broadcom.com >
Signed-off-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-06-24 10:18:19 -07:00
..
2016-06-01 12:15:50 -07:00
2016-03-03 15:07:10 -08:00
2016-05-11 11:21:21 +02:00
2015-10-12 19:56:27 -07:00
2016-06-07 18:14:37 -07:00
2015-09-29 10:59:27 +03:00
2016-05-11 11:21:10 +02:00
2016-06-01 12:15:50 -07:00
2016-05-04 14:48:54 -07:00
2016-06-07 18:14:33 -07:00
2016-06-07 18:14:35 -07:00
2016-03-03 15:07:15 -08:00
2016-01-04 21:46:45 -05:00
2016-05-04 14:48:44 -07:00
2016-06-07 18:14:34 -07:00
2016-06-01 12:15:49 -07:00
2015-10-02 11:05:58 +09:00
2016-05-04 14:48:42 -07:00
2015-10-30 01:16:16 -04:00
2016-05-04 14:48:48 -07:00
2016-05-04 14:48:54 -07:00
2015-11-11 10:21:34 -08:00
2016-05-04 14:48:49 -07:00
2015-11-24 15:25:46 -08:00
2016-06-24 10:18:19 -07:00
2016-06-07 18:14:37 -07:00
2016-05-11 11:21:15 +02:00
2015-10-30 16:10:40 +01:00
2016-03-03 15:07:16 -08:00
2016-06-07 18:14:34 -07:00
2016-02-25 12:01:23 -08:00
2016-05-04 14:48:54 -07:00
2016-05-04 14:48:47 -07:00
2015-11-06 17:50:42 -08:00
2016-04-12 09:09:05 -07:00
2016-05-11 11:21:23 +02:00
2016-06-01 12:15:53 -07:00
2016-06-07 18:14:32 -07:00
2016-05-04 14:48:45 -07:00
2016-06-01 12:15:49 -07:00
2015-12-15 13:24:21 -05:00
2015-11-05 13:15:12 -08:00
2015-12-29 08:28:32 -07:00
2015-10-15 20:31:59 +11:00
2015-11-04 14:03:04 +05:30
2016-06-01 12:15:53 -07:00
2016-05-11 11:21:13 +02:00
2016-06-07 18:14:35 -07:00
2015-12-16 00:16:58 +01:00
2015-11-12 07:06:18 -05:00
2016-06-07 18:14:34 -07:00
2016-06-01 12:15:50 -07:00
2016-06-01 12:15:50 -07:00
2016-06-01 12:15:54 -07:00
2016-06-24 10:18:18 -07:00
2015-11-10 18:11:41 -08:00
2015-11-08 16:24:43 -05:00
2016-04-20 15:41:54 +09:00
2015-12-22 10:12:04 -07:00
2016-05-11 11:21:21 +02:00
2016-04-12 09:08:55 -07:00
2015-12-12 16:07:25 +01:00
2016-06-07 18:14:35 -07:00
2016-04-20 15:42:09 +09:00
2015-11-04 14:47:13 -08:00
2016-03-03 15:07:28 -08:00
2016-06-07 18:14:35 -07:00
2016-06-01 12:15:50 -07:00
2015-11-06 10:23:50 -08:00
2015-12-12 02:31:11 +01:00
2015-10-01 09:59:16 -07:00
2015-09-29 23:00:58 +10:00
2016-05-04 14:48:47 -07:00
2016-05-18 17:06:51 -07:00
2015-11-26 17:44:28 +02:00
2016-05-04 14:48:52 -07:00
2016-03-16 08:42:58 -07:00
2016-06-24 10:18:16 -07:00
2016-03-09 15:34:49 -08:00
2016-05-11 11:21:11 +02:00
2016-05-18 17:06:47 -07:00
2015-11-04 22:15:15 -08:00
2015-10-28 21:05:21 +02:00
2016-06-01 12:15:52 -07:00
2016-04-12 09:09:02 -07:00
2016-05-04 14:48:54 -07:00
2016-06-01 12:15:53 -07:00
2016-06-07 18:14:35 -07:00
2015-10-04 12:32:25 +01:00
2016-06-01 12:15:52 -07:00
2015-11-04 21:50:37 -08:00
2016-03-09 15:34:50 -08:00
2015-12-07 17:28:10 +02:00
2016-05-04 14:48:51 -07:00
2016-04-20 15:42:10 +09:00
2015-11-04 22:15:15 -08:00
2015-11-05 12:28:15 -08:00
2016-04-12 09:08:54 -07:00
2016-06-07 18:14:36 -07:00
2015-11-04 22:15:15 -08:00
2015-11-16 15:22:28 -07:00