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/wireless/orinoco.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/wireless/orinoco.c')
-rw-r--r-- | drivers/net/wireless/orinoco.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.c b/drivers/net/wireless/orinoco.c index 936c888e03e1..656f216b857f 100644 --- a/drivers/net/wireless/orinoco.c +++ b/drivers/net/wireless/orinoco.c | |||
@@ -4293,8 +4293,8 @@ static void orinoco_get_drvinfo(struct net_device *dev, | |||
4293 | strncpy(info->driver, DRIVER_NAME, sizeof(info->driver) - 1); | 4293 | strncpy(info->driver, DRIVER_NAME, sizeof(info->driver) - 1); |
4294 | strncpy(info->version, DRIVER_VERSION, sizeof(info->version) - 1); | 4294 | strncpy(info->version, DRIVER_VERSION, sizeof(info->version) - 1); |
4295 | strncpy(info->fw_version, priv->fw_name, sizeof(info->fw_version) - 1); | 4295 | strncpy(info->fw_version, priv->fw_name, sizeof(info->fw_version) - 1); |
4296 | if (dev->class_dev.dev) | 4296 | if (dev->dev.parent) |
4297 | strncpy(info->bus_info, dev->class_dev.dev->bus_id, | 4297 | strncpy(info->bus_info, dev->dev.parent->bus_id, |
4298 | sizeof(info->bus_info) - 1); | 4298 | sizeof(info->bus_info) - 1); |
4299 | else | 4299 | else |
4300 | snprintf(info->bus_info, sizeof(info->bus_info) - 1, | 4300 | snprintf(info->bus_info, sizeof(info->bus_info) - 1, |