chris: struct device - replace bus_id with dev_name(), dev_set_name()
authorKay Sievers <kay.sievers@vrfy.org>
Tue, 6 Jan 2009 18:44:42 +0000 (10:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 18:44:42 +0000 (10:44 -0800)
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/cris/arch-v32/drivers/iop_fw_load.c

index 3b3857e..2f8ea0f 100644 (file)
 #error "Please contact <greg@kroah.com> for details on how to fix it properly."
 
 static struct device iop_spu_device[2] = {
-       { .bus_id =     "iop-spu0", },
-       { .bus_id =     "iop-spu1", },
+       { .init_name =     "iop-spu0", },
+       { .init_name =     "iop-spu1", },
 };
 
 static struct device iop_mpu_device = {
-       .bus_id =       "iop-mpu",
+       .init_name =       "iop-mpu",
 };
 
 static int wait_mpu_idle(void)