<sigh>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
drivers/xen/pciback/xenbus.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/xen/pciback/xenbus.c b/drivers/xen/pciback/xenbus.c
index 86acae3..e33a688 100644
--- a/drivers/xen/pciback/xenbus.c
+++ b/drivers/xen/pciback/xenbus.c
@@ -226,7 +226,7 @@ static int pciback_export_device(struct pciback_device
*pdev,
if (register_device_owner(dev, pdev->xdev->otherend_id) != 0) {
dev_err(&dev->dev, "device has been assigned to another " \
"domain! Over-writting the ownership, but beware.\n");
- unregister(dev);
+ unregister_device_owner(dev);
register_device_owner(dev, pdev->xdev->otherend_id);
}
@@ -260,7 +260,7 @@ static int pciback_remove_device(struct pciback_device
*pdev,
goto out;
}
- dev_db(&dev->dev, "unregistering for %d\n", pdev->xdev->otherend_id);
+ dev_dbg(&dev->dev, "unregistering for %d\n", pdev->xdev->otherend_id);
unregister_device_owner(dev);
pciback_release_pci_dev(pdev, dev);
--
1.6.2.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|