commit | f105edf70011859b33c3309f9c5ea96395cb616c | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Apr 13 10:28:21 2018 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed May 16 14:35:24 2018 +0200 |
tree | c4b8ddd526287f138ca1ba6c9b5b4ff361c6a26c | |
parent | a411e81e61df24023f40255145d8f023402002c9 [diff] |
gpio: loongson: Use right include The driver includes <linux/gpio.h> which is wrong, rely on <linux/gpio/driver.h> and remove to call to gpio_set_value() in favor of calling the internal function. Move functions around to avoid forward declarations. Cc: Keguang Zhang <keguang.zhang@gmail.com> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: Huacai Chen <chenhc@lemote.com> Cc: linux-mips@linux-mips.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>