diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-06 13:44:38 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:44:38 -0500 |
commit | 1bb5beb49f8f32c5293cae0695db2492804772a3 (patch) | |
tree | 28810d32bce0c203d390745356dc1a8d09848805 /arch/mips | |
parent | 475b44c19913b877537c8bc19799f75b0b142641 (diff) |
mips: struct device - replace bus_id with dev_name(), dev_set_name()
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/vpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index 010b27e01f7b..3ca5f42e819d 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c | |||
@@ -1454,7 +1454,7 @@ static int __init vpe_module_init(void) | |||
1454 | device_initialize(&vpe_device); | 1454 | device_initialize(&vpe_device); |
1455 | vpe_device.class = &vpe_class, | 1455 | vpe_device.class = &vpe_class, |
1456 | vpe_device.parent = NULL, | 1456 | vpe_device.parent = NULL, |
1457 | strlcpy(vpe_device.bus_id, "vpe1", BUS_ID_SIZE); | 1457 | dev_set_name(&vpe_device, "vpe1"); |
1458 | vpe_device.devt = MKDEV(major, minor); | 1458 | vpe_device.devt = MKDEV(major, minor); |
1459 | err = device_add(&vpe_device); | 1459 | err = device_add(&vpe_device); |
1460 | if (err) { | 1460 | if (err) { |