diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2006-02-01 06:06:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 11:53:24 -0500 |
commit | b1969fa46d95efcdb0b84c540eca10db99665148 (patch) | |
tree | f5e06eb21fc04419b8fdc9bd8f471b789769df3f /drivers/s390 | |
parent | 54dfe5dd9abc547f63060d132dad2c024a47de1e (diff) |
[PATCH] s390: Fix modalias for ccw devices
Fix modalias for ccw devices: cu_type should be in capitals as well.
Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/cio/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 0b30921ce60d..062fb100d94c 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -254,7 +254,7 @@ modalias_show (struct device *dev, struct device_attribute *attr, char *buf) | |||
254 | struct ccw_device_id *id = &(cdev->id); | 254 | struct ccw_device_id *id = &(cdev->id); |
255 | int ret; | 255 | int ret; |
256 | 256 | ||
257 | ret = sprintf(buf, "ccw:t%04Xm%02x", | 257 | ret = sprintf(buf, "ccw:t%04Xm%02X", |
258 | id->cu_type, id->cu_model); | 258 | id->cu_type, id->cu_model); |
259 | if (id->dev_type != 0) | 259 | if (id->dev_type != 0) |
260 | ret += sprintf(buf + ret, "dt%04Xdm%02X\n", | 260 | ret += sprintf(buf + ret, "dt%04Xdm%02X\n", |