sunxi: gpio: Build sunxi_name_to_gpio_bank for driver-model code too
authorHans de Goede <hdegoede@redhat.com>
Wed, 22 Apr 2015 15:59:01 +0000 (17:59 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:52 +0000 (16:51 +0200)
commit746c087bd3538dc2c2b744e44815a3d5ce94e3bc
treeb180b68f3562cd2519207ab47d7b104792783226
parent11d52a9da6d377f39217f2a96f2304f533f5af6d
sunxi: gpio: Build sunxi_name_to_gpio_bank for driver-model code too

When doing a driver-model enabled build we still need sunxi_name_to_gpio_bank
(for now) for the mmc pinmux code in board/sunxi/board.c, so build it for
driver-model enabled builds too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/gpio/sunxi_gpio.c