diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 05:59:30 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2014-02-28 15:26:04 -0500 |
commit | 598ddb8cf3329d299746d6704d8df97f397906b6 (patch) | |
tree | ae2f5d4818c278cfbffe4c7c84c5e52fc9d966bd /drivers/xen | |
parent | cfbf8d4857c26a8a307fb7cd258074c9dcd8c691 (diff) |
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 <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/platform-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
45 | static unsigned long platform_mmiolen; | 45 | static unsigned long platform_mmiolen; |
46 | static uint64_t callback_via; | 46 | static uint64_t callback_via; |
47 | 47 | ||
48 | unsigned long alloc_xen_mmio(unsigned long len) | 48 | static unsigned long alloc_xen_mmio(unsigned long len) |
49 | { | 49 | { |
50 | unsigned long addr; | 50 | unsigned long addr; |
51 | 51 | ||