From: Colin Ian King Date: Thu, 16 Jul 2015 19:34:42 +0000 (+0100) Subject: x86/xen: fix non-ANSI declaration of xen_has_pv_devices() X-Git-Tag: v4.1.12-92~172^2~5^2~65^2~47 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b19b9231523ba06c961a3807f58814fd8071d176;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: David Vrabel (cherry picked from commit 772f95e3b9460c64fb99b134022855cbce75b9a0) Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/xen/platform-pci-unplug.c b/arch/x86/xen/platform-pci-unplug.c index a8261716d58d6..9586ff32810cf 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) return 0; } -bool xen_has_pv_devices() +bool xen_has_pv_devices(void) { if (!xen_domain()) return false;