pinctrl: Forward declare struct device
authorLadislav Michl <ladis@linux-mips.org>
Mon, 22 Jan 2018 12:31:11 +0000 (13:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Jan 2018 12:31:19 +0000 (13:31 +0100)
commitd3452f1d88311c9af16d709d51dba5ad44afbd1d
tree88d3b2c319ae3ef0796c11009bfffee6696b145c
parent470b73a38470e8baf923b8424b5f54870efaef22
pinctrl: Forward declare struct device

pinctrl/devinfo.h is using forward declaration from pinctrl/consumer.h
for configurations with CONFIG_PINCTRL defined, however nothing declares
it in the opposite case. Fix this by adding a forward declaration.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/devinfo.h