[SCSI] struct device - replace bus_id with dev_name(), dev_set_name()
[deliverable/linux.git] / drivers / scsi / ipr.c
index 0edfb1fa63ceb5fe945157c932f9ce30d4f4c812..841f460edbc40f41571ac83f4db08207b04e33e4 100644 (file)
@@ -2184,7 +2184,7 @@ static void ipr_dump_location_data(struct ipr_ioa_cfg *ioa_cfg,
                sizeof(struct ipr_dump_entry_header);
        driver_dump->location_entry.hdr.data_type = IPR_DUMP_DATA_TYPE_ASCII;
        driver_dump->location_entry.hdr.id = IPR_DUMP_LOCATION_ID;
-       strcpy(driver_dump->location_entry.location, ioa_cfg->pdev->dev.bus_id);
+       strcpy(driver_dump->location_entry.location, dev_name(&ioa_cfg->pdev->dev));
        driver_dump->hdr.num_entries++;
 }
 
This page took 0.04144 seconds and 5 git commands to generate.