From: Rashika Kheria Date: Sun, 9 Feb 2014 10:59:30 +0000 (+0530) Subject: drivers: xen: Mark function as static in platform-pci.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=598ddb8cf3329d299746d6704d8df97f397906b6;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drivers: xen: Mark function as static in platform-pci.c Mark function as static in xen/platform-pci.c because it is not used outside this file. This eliminates the following warning in xen/platform-pci.c: drivers/xen/platform-pci.c:48:15: warning: no previous prototype for ‘alloc_xen_mmio’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh Triplett Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel --- diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c index a1361c312c06..3454973dc3bb 100644 --- a/drivers/xen/platform-pci.c +++ b/drivers/xen/platform-pci.c @@ -45,7 +45,7 @@ static unsigned long platform_mmio_alloc; static unsigned long platform_mmiolen; static uint64_t callback_via; -unsigned long alloc_xen_mmio(unsigned long len) +static unsigned long alloc_xen_mmio(unsigned long len) { unsigned long addr;