diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-21 20:49:34 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-21 20:50:03 +0200 |
commit | b8b0f559c7b1dcf5503817e518c81c9a18ee45e0 (patch) | |
tree | 99850c87a7eda4693409291bacdc7c1d07fe2498 /arch/x86/xen/apic.c | |
parent | xen: missing includes (diff) | |
download | linux-b8b0f559c7b1dcf5503817e518c81c9a18ee45e0.tar.xz linux-b8b0f559c7b1dcf5503817e518c81c9a18ee45e0.zip |
xen/apic/xenbus/swiotlb/pcifront/grant/tmem: Make functions or variables static.
There is no need for those functions/variables to be visible. Make them
static and also fix the compile warnings of this sort:
drivers/xen/<some file>.c: warning: symbol '<blah>' was not declared. Should it be static?
Some of them just require including the header file that
declares the functions.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/xen/apic.c')
-rw-r--r-- | arch/x86/xen/apic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/apic.c b/arch/x86/xen/apic.c index ec57bd3818a4..7005ced5d1ad 100644 --- a/arch/x86/xen/apic.c +++ b/arch/x86/xen/apic.c @@ -6,8 +6,9 @@ #include <xen/xen.h> #include <xen/interface/physdev.h> +#include "xen-ops.h" -unsigned int xen_io_apic_read(unsigned apic, unsigned reg) +static unsigned int xen_io_apic_read(unsigned apic, unsigned reg) { struct physdev_apic apic_op; int ret; |