1 --- a/drivers/mtd/maps/adm5120-flash.c
2 +++ b/drivers/mtd/maps/adm5120-flash.c
3 @@ -233,7 +233,7 @@ static int adm5120_flash_initinfo(struct
4 struct flash_desc *fdesc;
7 - map->name = dev->dev.bus_id;
8 + map->name = dev_name(&dev->dev);
11 MAP_ERR(map, "invalid flash id\n");