]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: rza2: Include the appropriate headers
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 20 Aug 2019 13:59:55 +0000 (15:59 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 23 Aug 2019 07:08:10 +0000 (09:08 +0200)
commitab4f75703c7769ca62ac09efc70ad5368bd9a35f
tree1760c166899242ee453dd31a18b912533311355c
parentf1259fcc392970ecbc664bb5f02d9406d1396f00
pinctrl: rza2: Include the appropriate headers

This driver is implementing a GPIO driver so include
<linux/gpio/driver.h> and not the legacy API <linux/gpio.h>.
When testing it turns out it also relies on implicit
inclusion of <linux/io.h> (readw etc) so make sure to
include that as well.

Cc: Chris Brandt <chris.brandt@renesas.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/pinctrl-rza2.c