]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/arm/etherh.c
Network: convert network devices to use struct device instead of class_device
[karo-tx-linux.git] / drivers / net / arm / etherh.c
index f3faa4fe58e7a1a56d382f4fc0c28ac537edfe63..72c41f5907f252f517bdfdf451b02167b13b8962 100644 (file)
@@ -587,7 +587,7 @@ static void etherh_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *i
 {
        strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
        strlcpy(info->version, DRV_VERSION, sizeof(info->version));
-       strlcpy(info->bus_info, dev->class_dev.dev->bus_id,
+       strlcpy(info->bus_info, dev->dev.parent->bus_id,
                sizeof(info->bus_info));
 }