diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:12:06 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-02-11 15:12:06 +0000 |
commit | 1fd8724e94190dd8f2c893ea6dd7e72cdc8f36eb (patch) | |
tree | 3808977de70ab6392eb5826c91e345594b4ad0c8 /target/linux/ramips/files/drivers/net/ramips.c | |
parent | c6fa11d00f252bbceb8749c272d405f36b817e42 (diff) | |
download | master-31e0f0ae-1fd8724e94190dd8f2c893ea6dd7e72cdc8f36eb.tar.gz master-31e0f0ae-1fd8724e94190dd8f2c893ea6dd7e72cdc8f36eb.tar.bz2 master-31e0f0ae-1fd8724e94190dd8f2c893ea6dd7e72cdc8f36eb.zip |
ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ramips.c')
-rw-r--r-- | target/linux/ramips/files/drivers/net/ramips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips.c b/target/linux/ramips/files/drivers/net/ramips.c index 273c00dc2a..3ee8e823c1 100644 --- a/target/linux/ramips/files/drivers/net/ramips.c +++ b/target/linux/ramips/files/drivers/net/ramips.c @@ -518,6 +518,7 @@ ramips_eth_plat_probe(struct platform_device *plat) priv = netdev_priv(ramips_dev); + priv->netdev = ramips_dev; priv->speed = data->speed; priv->duplex = data->duplex; priv->rx_fc = data->rx_fc; |