generic: ar8216: rename ar8216_ops to ar8216_sw_ops
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 18 Mar 2012 22:06:03 +0000 (22:06 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 18 Mar 2012 22:06:03 +0000 (22:06 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic/files/drivers/net/phy/ar8216.c

index 660a11b..0d42e27 100644 (file)
@@ -811,7 +811,7 @@ ar8216_reset_switch(struct switch_dev *dev)
 }
 
 
 }
 
 
-static const struct switch_dev_ops ar8216_ops = {
+static const struct switch_dev_ops ar8216_sw_ops = {
        .attr_global = {
                .attr = ar8216_globals,
                .n_attr = ARRAY_SIZE(ar8216_globals),
        .attr_global = {
                .attr = ar8216_globals,
                .n_attr = ARRAY_SIZE(ar8216_globals),
@@ -902,7 +902,7 @@ ar8216_config_init(struct phy_device *pdev)
 
        swdev = &priv->dev;
        swdev->cpu_port = AR8216_PORT_CPU;
 
        swdev = &priv->dev;
        swdev->cpu_port = AR8216_PORT_CPU;
-       swdev->ops = &ar8216_ops;
+       swdev->ops = &ar8216_sw_ops;
        swdev->ports = AR8216_NUM_PORTS;
 
        if (priv->chip == AR8316) {
        swdev->ports = AR8216_NUM_PORTS;
 
        if (priv->chip == AR8316) {
This page took 0.028555 seconds and 4 git commands to generate.