]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: 7902/1: sa1100: h3xxx: move serial port GPIO handling to common place
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Tue, 26 Nov 2013 10:11:00 +0000 (11:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 12 Feb 2014 10:36:02 +0000 (10:36 +0000)
commiteb02313d2c96e1793cf37693d432fd2c129ae170
tree152973303b3644f77985f7e7646c236d7c0b6dfd
parent162e68c08c916d0b701331a85291537fed2ad537
ARM: 7902/1: sa1100: h3xxx: move serial port GPIO handling to common place

Both h3100 and h3600 request UART gpios during init_machine time. As
sa1100 gpio driver is going to become proper machine driver, move gpio
handling to UART port functions. Request all gpios using gpio_request
array once and then guard them from rerequesting with bool variable.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/h3100.c
arch/arm/mach-sa1100/h3600.c
arch/arm/mach-sa1100/h3xxx.c