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 | 110d4ac69db34ed9151a34df08d61cda4dd7999d (patch) | |
tree | 03daf414261f90718955ab24b01e9f9d093eac44 /target/linux/ramips/files/drivers/net/ramips.c | |
parent | 49ec435276b6986979b47f1a719e3fff0061e775 (diff) | |
download | upstream-110d4ac69db34ed9151a34df08d61cda4dd7999d.tar.gz upstream-110d4ac69db34ed9151a34df08d61cda4dd7999d.tar.bz2 upstream-110d4ac69db34ed9151a34df08d61cda4dd7999d.zip |
ramips: raeth: add netdev pointer to private structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
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; |