summaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2009-02-11 10:37:30 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-02-11 10:37:40 +0100
commitca0b4b7d2cb57a2e24d7e48ce9b411b9baa3bf63 (patch)
treec58cd4cebfb7603e37360680062c6b7fd2ebf2c3 /drivers/s390/block
parent0addff81513a71b279a5eca5bf7cba2052c8b737 (diff)
downloadop-kernel-dev-ca0b4b7d2cb57a2e24d7e48ce9b411b9baa3bf63.zip
op-kernel-dev-ca0b4b7d2cb57a2e24d7e48ce9b411b9baa3bf63.tar.gz
[S390] dasd: bus_id -> dev_name() conversion.
bus_id usage crept in again; fix it. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/dasd_devmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c
index 300e28a..3433990 100644
--- a/drivers/s390/block/dasd_devmap.c
+++ b/drivers/s390/block/dasd_devmap.c
@@ -677,7 +677,7 @@ static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr,
struct dasd_devmap *devmap;
int ff_flag;
- devmap = dasd_find_busid(dev->bus_id);
+ devmap = dasd_find_busid(dev_name(dev));
if (!IS_ERR(devmap))
ff_flag = (devmap->features & DASD_FEATURE_FAILFAST) != 0;
else
OpenPOWER on IntegriCloud