ARM: ixp4xx: fix gpio rework
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Feb 2014 16:40:14 +0000 (17:40 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:23:27 +0000 (18:23 +0100)
commit48ba81f6fdb7580a5c474da1b14a338e1358e6ab
treee48e23b16379ea852a9ba79503203cb9c64db2e3
parent926aabde6318db321eb982ded8f5f63cd52fee74
ARM: ixp4xx: fix gpio rework

Commit 098e30f6558f8 "ARM: ixp4xx: stop broadcasting the custom GPIO API"
changed the internal gpio code of ixp4xx to be accessible only from
common.c, but unfortunately that broke the Goramo MultiLink code, which
uses this API.

This tries to restore the previous state without exposing the
API globally again. A better solution might be needed.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Cc: Imre Kaloz <kaloz@openwrt.org>
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/goramo_mlr.c