aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/netiucv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/net/netiucv.c')
-rw-r--r--drivers/s390/net/netiucv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c
index 52574ce797b2..8c36eafcfbfe 100644
--- a/drivers/s390/net/netiucv.c
+++ b/drivers/s390/net/netiucv.c
@@ -1307,7 +1307,7 @@ static void netiucv_pm_complete(struct device *dev)
1307 */ 1307 */
1308static int netiucv_pm_freeze(struct device *dev) 1308static int netiucv_pm_freeze(struct device *dev)
1309{ 1309{
1310 struct netiucv_priv *priv = dev->driver_data; 1310 struct netiucv_priv *priv = dev_get_drvdata(dev);
1311 struct net_device *ndev = NULL; 1311 struct net_device *ndev = NULL;
1312 int rc = 0; 1312 int rc = 0;
1313 1313
@@ -1331,7 +1331,7 @@ out:
1331 */ 1331 */
1332static int netiucv_pm_restore_thaw(struct device *dev) 1332static int netiucv_pm_restore_thaw(struct device *dev)
1333{ 1333{
1334 struct netiucv_priv *priv = dev->driver_data; 1334 struct netiucv_priv *priv = dev_get_drvdata(dev);
1335 struct net_device *ndev = NULL; 1335 struct net_device *ndev = NULL;
1336 int rc = 0; 1336 int rc = 0;
1337 1337