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,9 +652,9 @@ static int prestera_port_bridge_vlan_stp_set(struct prestera_port *port, ...@@ -652,9 +652,9 @@ static int prestera_port_bridge_vlan_stp_set(struct prestera_port *port,
return 0; 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, struct net_device *dev,
u8 state) u8 state)
{ {
struct prestera_bridge_port *br_port; struct prestera_bridge_port *br_port;
struct prestera_bridge_vlan *br_vlan; struct prestera_bridge_vlan *br_vlan;
...@@ -702,8 +702,8 @@ static int prestera_port_obj_attr_set(struct net_device *dev, ...@@ -702,8 +702,8 @@ static int prestera_port_obj_attr_set(struct net_device *dev,
switch (attr->id) { switch (attr->id) {
case SWITCHDEV_ATTR_ID_PORT_STP_STATE: 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); attr->u.stp_state);
break; break;
case SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS: case SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS:
if (attr->u.brport_flags & if (attr->u.brport_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