diff options
author | Colin Foster <colin.foster@in-advantage.com> | 2021-12-07 09:00:29 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-07 21:44:49 -0800 |
commit | 242bd0c10bbdcea4c8bfd1f40973d145dd4ae120 (patch) | |
tree | 2383e01a1bc5c3520104afd5c4a15c89c4966453 /drivers/net/dsa/ocelot/felix_vsc9959.c | |
parent | 49af6a7620c53b779572abfbfd7778e113154330 (diff) | |
download | lwn-242bd0c10bbdcea4c8bfd1f40973d145dd4ae120.tar.gz lwn-242bd0c10bbdcea4c8bfd1f40973d145dd4ae120.zip |
net: dsa: ocelot: felix: add interface for custom regmaps
Add an interface so that non-mmio regmaps can be used
Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix_vsc9959.c')
-rw-r--r-- | drivers/net/dsa/ocelot/felix_vsc9959.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/ocelot/felix_vsc9959.c b/drivers/net/dsa/ocelot/felix_vsc9959.c index 0676e204c804..74c5c8cd664a 100644 --- a/drivers/net/dsa/ocelot/felix_vsc9959.c +++ b/drivers/net/dsa/ocelot/felix_vsc9959.c @@ -2240,6 +2240,7 @@ static const struct felix_info felix_info_vsc9959 = { .prevalidate_phy_mode = vsc9959_prevalidate_phy_mode, .port_setup_tc = vsc9959_port_setup_tc, .port_sched_speed_set = vsc9959_sched_speed_set, + .init_regmap = ocelot_regmap_init, }; static irqreturn_t felix_irq_handler(int irq, void *data) |