Commit 1bb5beb4 authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

mips: struct device - replace bus_id with dev_name(), dev_set_name()

Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 475b44c1
...@@ -1454,7 +1454,7 @@ static int __init vpe_module_init(void) ...@@ -1454,7 +1454,7 @@ static int __init vpe_module_init(void)
device_initialize(&vpe_device); device_initialize(&vpe_device);
vpe_device.class = &vpe_class, vpe_device.class = &vpe_class,
vpe_device.parent = NULL, 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); vpe_device.devt = MKDEV(major, minor);
err = device_add(&vpe_device); err = device_add(&vpe_device);
if (err) { if (err) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment