enable hso on ar71xx (#6432)
[librecmc/librecmc.git] / target / linux / adm5120 / patches-2.6.30 / 801-adm5120-flash-remove-bus-id.patch
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;
5         u32 t = 0;
6  
7 -       map->name = dev->dev.bus_id;
8 +       map->name = dev_name(&dev->dev);
9  
10         if (dev->id > 1) {
11                 MAP_ERR(map, "invalid flash id\n");