kernel: ar8216: add support for the AR8236 switch
[openwrt.git] / target / linux / generic / files / drivers / net / phy / rtl8366rb.c
index c953681..b337408 100644 (file)
@@ -1116,7 +1116,7 @@ static int rtl8366rb_switch_init(struct rtl8366_smi *smi)
        dev->ports = RTL8366RB_NUM_PORTS;
        dev->vlans = RTL8366RB_NUM_VIDS;
        dev->ops = &rtl8366_ops;
-       dev->devname = dev_name(smi->parent);
+       dev->alias = dev_name(smi->parent);
 
        err = register_switch(dev, NULL);
        if (err)
This page took 0.020283 seconds and 4 git commands to generate.