]> git.baikalelectronics.ru Git - 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)
commit9e1fe5b6e957e5fe8505e9b926a41f510f467de5
tree70b7f8fedeba8972e4dbb2fd761044b32f6728f8
parent4abfbdd140213753642d65a5d961aee61cbf4294
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