diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2002-04-09 15:14:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-07 13:37:11 -0500 |
commit | 43cb76d91ee85f579a69d42bc8efc08bac560278 (patch) | |
tree | f5c4766a6639fee3685dbbfc9110bb334af9e6dd /drivers/net/smc91x.c | |
parent | 2943ecf2ed32632473c06f1975db47a7aa98c10f (diff) |
Network: convert network devices to use struct device instead of class_device
This lets the network core have the ability to handle suspend/resume
issues, if it wants to.
Thanks to Frederik Deweerdt <frederik.deweerdt@gmail.com> for the arm
driver fixes.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r-- | drivers/net/smc91x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index e62a9586fb95..49f4b7712ebf 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/smc91x.c | |||
@@ -1712,7 +1712,7 @@ smc_ethtool_getdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info) | |||
1712 | { | 1712 | { |
1713 | strncpy(info->driver, CARDNAME, sizeof(info->driver)); | 1713 | strncpy(info->driver, CARDNAME, sizeof(info->driver)); |
1714 | strncpy(info->version, version, sizeof(info->version)); | 1714 | strncpy(info->version, version, sizeof(info->version)); |
1715 | strncpy(info->bus_info, dev->class_dev.dev->bus_id, sizeof(info->bus_info)); | 1715 | strncpy(info->bus_info, dev->dev.parent->bus_id, sizeof(info->bus_info)); |
1716 | } | 1716 | } |
1717 | 1717 | ||
1718 | static int smc_ethtool_nwayreset(struct net_device *dev) | 1718 | static int smc_ethtool_nwayreset(struct net_device *dev) |