Skip to content

Commit

Permalink
drivers: xen: Mark function as static in platform-pci.c
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rashika authored and konradwilk committed Feb 28, 2014
1 parent cfbf8d4 commit 598ddb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/platform-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 598ddb8

Please sign in to comment.