Commit 598ddb8c authored by Rashika Kheria's avatar Rashika Kheria Committed by Konrad Rzeszutek Wilk

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent cfbf8d48
...@@ -45,7 +45,7 @@ static unsigned long platform_mmio_alloc; ...@@ -45,7 +45,7 @@ static unsigned long platform_mmio_alloc;
static unsigned long platform_mmiolen; static unsigned long platform_mmiolen;
static uint64_t callback_via; 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; unsigned long addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment