diff options
author | Colin Ian King <colin.king@canonical.com> | 2015-07-16 15:34:42 -0400 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-08-20 07:24:13 -0400 |
commit | 772f95e3b9460c64fb99b134022855cbce75b9a0 (patch) | |
tree | 908e2d1cab94392a52934f65527af5661090919c /arch/x86/xen/platform-pci-unplug.c | |
parent | 2c6625cd545bdd66acff14f3394865d43920a5c7 (diff) |
x86/xen: fix non-ANSI declaration of xen_has_pv_devices()
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>
Diffstat (limited to 'arch/x86/xen/platform-pci-unplug.c')
-rw-r--r-- | arch/x86/xen/platform-pci-unplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c index a8261716d58d..9586ff32810c 100644 --- a/arch/x86/xen/platform-pci-unplug.c +++ b/arch/x86/xen/platform-pci-unplug.c | |||
@@ -68,7 +68,7 @@ static int check_platform_magic(void) | |||
68 | return 0; | 68 | return 0; |
69 | } | 69 | } |
70 | 70 | ||
71 | bool xen_has_pv_devices() | 71 | bool xen_has_pv_devices(void) |
72 | { | 72 | { |
73 | if (!xen_domain()) | 73 | if (!xen_domain()) |
74 | return false; | 74 | return false; |