]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
gpio: moxart: Avoid forward declaration
authorAxel Lin <axel.lin@ingics.com>
Tue, 25 Mar 2014 02:43:33 +0000 (10:43 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Mar 2014 09:17:32 +0000 (10:17 +0100)
commitc9e8dbadb0528d872c5734858dbf76aa4cb31df9
tree70b7f8fedeba8972e4dbb2fd761044b32f6728f8
parenta585f87c863e4e1d496459d382b802bf5ebe3717
gpio: moxart: Avoid forward declaration

Slightly adjust the code to avoid forward declaration as we need to call
moxart_gpio_set() in moxart_gpio_direction_output() to properly set the
output state.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-moxart.c