diff options
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r-- | drivers/net/xen-netfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index e59acb1daa23..2ab82fe75ede 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c | |||
@@ -2115,7 +2115,7 @@ static int __init netif_init(void) | |||
2115 | if (!xen_domain()) | 2115 | if (!xen_domain()) |
2116 | return -ENODEV; | 2116 | return -ENODEV; |
2117 | 2117 | ||
2118 | if (xen_hvm_domain() && !xen_platform_pci_unplug) | 2118 | if (!xen_has_pv_nic_devices()) |
2119 | return -ENODEV; | 2119 | return -ENODEV; |
2120 | 2120 | ||
2121 | pr_info("Initialising Xen virtual ethernet driver\n"); | 2121 | pr_info("Initialising Xen virtual ethernet driver\n"); |