x86/xen: fix non-ANSI declaration of xen_has_pv_devices()
authorColin Ian King <colin.king@canonical.com>
Thu, 16 Jul 2015 19:34:42 +0000 (20:34 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 20 Aug 2015 11:24:13 +0000 (12:24 +0100)
xen_has_pv_devices() has no parameters, so use the normal void
parameter convention to make it match the prototype in the header file
include/xen/platform_pci.h.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/platform-pci-unplug.c

index a826171..9586ff3 100644 (file)
@@ -68,7 +68,7 @@ static int check_platform_magic(void)
        return 0;
 }
 
-bool xen_has_pv_devices()
+bool xen_has_pv_devices(void)
 {
        if (!xen_domain())
                return false;