Re: [PATCH] net: mediatek: Explicitly include pinctrl headers

From: Linus Torvalds
Date: Mon Feb 05 2018 - 12:42:33 EST


On Mon, Feb 5, 2018 at 4:54 AM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote:
>
> Include these headers explicitly to avoid the build failure.

I don't think you need to include *both*.

<linux/device.h> used to include just <linux/pinctrl/devinfo.h>.

I'll edit your patches to include just that.
<linux/pinctrl/consumer.h> will come in automatically through it.

Linus