summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2023-01-27 11:35:49 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-30 21:07:20 -0800
commitbeb9a74e0bf72d514210447a31520805f717963d (patch)
treeb1749d6e3c5999858fe416c870c03bfbd1fa3f52 /include
parent728d8019f1a38891ad72a1f21b5ac35691e8aae7 (diff)
net: mscc: ocelot: expose vcap_props structure
The vcap_props structure is common to other devices, specifically the VSC7512 chip that can only be controlled externally. Export this structure so it doesn't need to be recreated. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # regression Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/soc/mscc/vsc7514_regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/mscc/vsc7514_regs.h b/include/soc/mscc/vsc7514_regs.h
index 9b40e7d00ec5..8cfbc7ec07f8 100644
--- a/include/soc/mscc/vsc7514_regs.h
+++ b/include/soc/mscc/vsc7514_regs.h
@@ -10,6 +10,8 @@
#include <soc/mscc/ocelot_vcap.h>
+extern struct vcap_props vsc7514_vcap_props[];
+
extern const struct reg_field vsc7514_regfields[REGFIELD_MAX];
extern const u32 vsc7514_ana_regmap[];