net: dsa: qca8k: Allow overwriting CPU port setting
authorMichal Vokáč <vokac.m@gmail.com>
Wed, 23 May 2018 06:20:22 +0000 (08:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 19:46:18 +0000 (15:46 -0400)
commit9bb2289f90e671bdb78e306974187424ac19ff8e
tree1b020a2cfa6d9f5c59106c98b415345a62d51862
parent79a4ed4f0f93fc65e48a0fc5247ffa5645f7b0cc
net: dsa: qca8k: Allow overwriting CPU port setting

Implement adjust_link function that allows to overwrite default CPU port
setting using fixed-link device tree subnode.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c
drivers/net/dsa/qca8k.h