diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-18 22:06:03 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-18 22:06:03 +0000 |
commit | e4682f031a25b4b8e108b9f08b6ca6c534e474f1 (patch) | |
tree | f1ceb6f1d813013448d4f9419f3f14931fd7258e /target/linux/generic | |
parent | 8504f0a83c17c11160941ff53219c7aa1e0712de (diff) | |
download | master-187ad058-e4682f031a25b4b8e108b9f08b6ca6c534e474f1.tar.gz master-187ad058-e4682f031a25b4b8e108b9f08b6ca6c534e474f1.tar.bz2 master-187ad058-e4682f031a25b4b8e108b9f08b6ca6c534e474f1.zip |
generic: ar8216: rename ar8216_ops to ar8216_sw_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index 660a11bce2..0d42e27c49 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -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), @@ -902,7 +902,7 @@ ar8216_config_init(struct phy_device *pdev) 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) { |