diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-22 12:08:19 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-22 12:08:23 +0200 |
commit | 4f0076f77fb64889d4e5e425b63333e5764b446d (patch) | |
tree | aa18259974eeb424277490254da48bd75df5ebb8 /drivers/s390/char/vmur.c | |
parent | [S390] pm: fix build error for !SMP (diff) | |
download | linux-4f0076f77fb64889d4e5e425b63333e5764b446d.tar.xz linux-4f0076f77fb64889d4e5e425b63333e5764b446d.zip |
[S390] driver_data access
Replace the remaining direct accesses to the driver_data pointer
with calls to the dev_get_drvdata() and dev_set_drvdata() functions.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/vmur.c')
-rw-r--r-- | drivers/s390/char/vmur.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmur.c b/drivers/s390/char/vmur.c index 7d9e67cb6471..31b902e94f7b 100644 --- a/drivers/s390/char/vmur.c +++ b/drivers/s390/char/vmur.c @@ -170,7 +170,7 @@ static void urdev_put(struct urdev *urd) */ static int ur_pm_suspend(struct ccw_device *cdev) { - struct urdev *urd = cdev->dev.driver_data; + struct urdev *urd = dev_get_drvdata(&cdev->dev); TRACE("ur_pm_suspend: cdev=%p\n", cdev); if (urd->open_flag) { |