extern const struct rtl838x_reg rtl931x_reg;
extern const struct dsa_switch_ops rtl83xx_switch_ops;
-extern const struct dsa_switch_ops rtl930x_switch_ops;
+extern const struct dsa_switch_ops rtl93xx_switch_ops;
extern struct phylink_pcs *rtpcs_create(struct device *dev, struct device_node *np, int port);
priv->n_counters = 1024;
break;
case RTL9300_FAMILY_ID:
- priv->ds->ops = &rtl930x_switch_ops;
+ priv->ds->ops = &rtl93xx_switch_ops;
priv->cpu_port = RTL930X_CPU_PORT;
priv->port_mask = 0x1f;
priv->port_width = 1;
priv->n_counters = 2048;
break;
case RTL9310_FAMILY_ID:
- priv->ds->ops = &rtl930x_switch_ops;
+ priv->ds->ops = &rtl93xx_switch_ops;
priv->cpu_port = RTL931X_CPU_PORT;
priv->port_mask = 0x3f;
priv->port_width = 2;
.port_bridge_flags = rtl83xx_port_bridge_flags,
};
-const struct dsa_switch_ops rtl930x_switch_ops = {
+const struct dsa_switch_ops rtl93xx_switch_ops = {
.get_tag_protocol = rtl83xx_get_tag_protocol,
.setup = rtl93xx_setup,