diff options
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe_frontend.c')
| -rw-r--r-- | drivers/xen/xenbus/xenbus_probe_frontend.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c index 34b20bfa4e8..cb385c10d2b 100644 --- a/drivers/xen/xenbus/xenbus_probe_frontend.c +++ b/drivers/xen/xenbus/xenbus_probe_frontend.c @@ -154,7 +154,7 @@ static struct xen_bus_type xenbus_frontend = {  		.probe		= xenbus_frontend_dev_probe,  		.remove		= xenbus_dev_remove,  		.shutdown	= xenbus_dev_shutdown, -		.dev_attrs	= xenbus_dev_attrs, +		.dev_groups	= xenbus_dev_groups,  		.pm		= &xenbus_pm_ops,  	}, @@ -496,7 +496,7 @@ subsys_initcall(xenbus_probe_frontend_init);  #ifndef MODULE  static int __init boot_wait_for_devices(void)  { -	if (xen_hvm_domain() && !xen_platform_pci_unplug) +	if (!xen_has_pv_devices())  		return -ENODEV;  	ready_to_wait_for_devices = 1;  | 
