OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475b44c
)
mips: 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)
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/mips/kernel/vpe.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/vpe.c
b/arch/mips/kernel/vpe.c
index
010b27e
..
3ca5f42
100644
(file)
--- a/
arch/mips/kernel/vpe.c
+++ b/
arch/mips/kernel/vpe.c
@@
-1454,7
+1454,7
@@
static int __init vpe_module_init(void)
device_initialize(&vpe_device);
vpe_device.class = &vpe_class,
vpe_device.parent = NULL,
-
strlcpy(vpe_device.bus_id, "vpe1", BUS_ID_SIZE
);
+
dev_set_name(&vpe_device, "vpe1"
);
vpe_device.devt = MKDEV(major, minor);
err = device_add(&vpe_device);
if (err) {