net: dsa: qca8k: move port config to dedicated struct
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 13 Oct 2021 22:39:19 +0000 (00:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 10:06:38 +0000 (11:06 +0100)
commitfd0bb28c547f7c8affb1691128cece38f5b626a1
tree84196f632cf709c294651cb47338d6f51f8f8a80
parentcef08115846e581f80ff99abf7bf218da1840616
net: dsa: qca8k: move port config to dedicated struct

Move ports related config to dedicated struct to keep things organized.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
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