Skip to content

Commit 598ddb8

Browse files
rashikakonradwilk
authored andcommitted
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 <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]> Reviewed-by: David Vrabel <[email protected]>
1 parent cfbf8d4 commit 598ddb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/xen/platform-pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static unsigned long platform_mmio_alloc;
4545
static unsigned long platform_mmiolen;
4646
static uint64_t callback_via;
4747

48-
unsigned long alloc_xen_mmio(unsigned long len)
48+
static unsigned long alloc_xen_mmio(unsigned long len)
4949
{
5050
unsigned long addr;
5151

0 commit comments

Comments
 (0)