]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:19 +0000 (22:35 +0200)
commit9dcce4cb8d196121e62905a1608295bb8f69aa99
tree42872ae61c77943a9c9c35d7af6942c8dfd090a8
parente1e8e0c3301f3eb951afa263bebdfa327d656058
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