]> git.itanic.dy.fi Git - linux-stable/commit
net: dsa: qca8k: replace legacy gpio include
authorChristian Lamparter <chunkeey@gmail.com>
Fri, 12 Jul 2019 15:33:36 +0000 (17:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jul 2019 22:38:07 +0000 (15:38 -0700)
commitf32ae8a5f131a92cd8179adf55cd8405c60e0c20
treebb6bdefd41ed7f424b9a9eaa883e4d9dc11c3952
parent56170ba3bd90986e44f96ada9573dfe583621fca
net: dsa: qca8k: replace legacy gpio include

This patch replaces the legacy bulk gpio.h include
with the proper gpio/consumer.h variant. This was
caught by the kbuild test robot that was running
into an error because of this.

For more information why linux/gpio.h is bad can be found in:
commit 56a46b6144e7 ("gpio: Clarify that <linux/gpio.h> is legacy")

Reported-by: kbuild test robot <lkp@intel.com>
Link: https://www.spinics.net/lists/netdev/msg584447.html
Fixes: a653f2f538f9 ("net: dsa: qca8k: introduce reset via gpio feature")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c