OSDN Git Service

mmc: meson-gx-mmc: Explicitly include pinctr/consumer.h
authorThierry Reding <treding@nvidia.com>
Mon, 5 Feb 2018 12:47:50 +0000 (13:47 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 Feb 2018 17:41:54 +0000 (09:41 -0800)
commit8fb572acb2191bd14fc1363bf73461a994842e6f
tree3aac280d7d594e215af745280c52c7f26030ffb5
parent1c16a9ce01487a98052d37a94e4c411b4fd9617b
mmc: meson-gx-mmc: Explicitly include pinctr/consumer.h

The Meson GX MMC driver fails to build after commit 23c35f48f5fb
("pinctrl: remove include file from <linux/device.h>") because it relies
on the pinctrl/consumer.h being pulled in by the device.h header
implicitly.

Include the header explicitly to avoid the build failure.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/meson-gx-mmc.c