uwb: struct device - replace bus_id with dev_name(), dev_set_name()
[linux-2.6.git] / drivers / uwb / whci.c
index 3df2388f908fd713e2b58519b8f4376676362c09..e626467f95e35a75852cb3c00c32ce8ce0ed7a75 100644 (file)
@@ -111,7 +111,7 @@ static int whci_add_cap(struct whci_card *card, int n)
                + UWBCAPDATA_TO_OFFSET(capdata);
        umc->resource.end    = umc->resource.start
                + (n == 0 ? 0x20 : UWBCAPDATA_TO_SIZE(capdata)) - 1;
-       umc->resource.name   = umc->dev.bus_id;
+       umc->resource.name   = dev_name(&umc->dev);
        umc->resource.flags  = card->pci->resource[bar].flags;
        umc->resource.parent = &card->pci->resource[bar];
        umc->irq             = card->pci->irq;