projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85e37c
)
mwave: struct device - replace bus_id with dev_name(), dev_set_name()
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 6 Jan 2009 18:44:38 +0000
(10:44 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 6 Jan 2009 18:44:38 +0000
(10:44 -0800)
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mwave/mwavedd.c
patch
|
blob
|
history
diff --git
a/drivers/char/mwave/mwavedd.c
b/drivers/char/mwave/mwavedd.c
index
4f8d67f
..
94ad2c3
100644
(file)
--- a/
drivers/char/mwave/mwavedd.c
+++ b/
drivers/char/mwave/mwavedd.c
@@
-663,7
+663,7
@@
static int __init mwave_init(void)
#if 0
/* sysfs */
memset(&mwave_device, 0, sizeof (struct device));
-
snprintf(mwave_device.bus_id, BUS_ID_SIZE
, "mwave");
+
dev_set_name(&mwave_device
, "mwave");
if (device_register(&mwave_device))
goto cleanup_error;