Commit 22fe6b04 authored by Florian Fainelli's avatar Florian Fainelli Committed by Jakub Kicinski

net: marvell: prestera: Correct typo

The function was incorrectly named with a trailing 'r' at the end of
prestera.
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210109050622.8081-1-f.fainelli@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a45c1c10
......@@ -652,7 +652,7 @@ static int prestera_port_bridge_vlan_stp_set(struct prestera_port *port,
return 0;
}
static int presterar_port_attr_stp_state_set(struct prestera_port *port,
static int prestera_port_attr_stp_state_set(struct prestera_port *port,
struct net_device *dev,
u8 state)
{
......@@ -702,7 +702,7 @@ static int prestera_port_obj_attr_set(struct net_device *dev,
switch (attr->id) {
case SWITCHDEV_ATTR_ID_PORT_STP_STATE:
err = presterar_port_attr_stp_state_set(port, attr->orig_dev,
err = prestera_port_attr_stp_state_set(port, attr->orig_dev,
attr->u.stp_state);
break;
case SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment