diff options
author | Colin Foster <colin.foster@in-advantage.com> | 2023-01-27 20:35:51 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-31 06:07:20 +0100 |
commit | 2efaca411c96784272699622b7afadcc6c6c0036 (patch) | |
tree | ec7eaa4c31de4d74e4656154479920f9140dff1f /include/soc | |
parent | net: mscc: ocelot: expose ocelot_reset routine (diff) | |
download | linux-2efaca411c96784272699622b7afadcc6c6c0036.tar.xz linux-2efaca411c96784272699622b7afadcc6c6c0036.zip |
net: mscc: ocelot: expose vsc7514_regmap definition
The VSC7514 target regmap is identical for ones shared with similar
hardware, specifically the VSC7512. Share this resource, and change the
name to match the pattern of other exported resources.
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/soc')
-rw-r--r-- | include/soc/mscc/vsc7514_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/mscc/vsc7514_regs.h b/include/soc/mscc/vsc7514_regs.h index 8cfbc7ec07f8..dfb91629c8bd 100644 --- a/include/soc/mscc/vsc7514_regs.h +++ b/include/soc/mscc/vsc7514_regs.h @@ -23,6 +23,8 @@ extern const u32 vsc7514_vcap_regmap[]; extern const u32 vsc7514_ptp_regmap[]; extern const u32 vsc7514_dev_gmii_regmap[]; +extern const u32 *vsc7514_regmap[TARGET_MAX]; + extern const struct vcap_field vsc7514_vcap_es0_keys[]; extern const struct vcap_field vsc7514_vcap_es0_actions[]; extern const struct vcap_field vsc7514_vcap_is1_keys[]; |