diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-21 14:49:34 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-21 14:50:03 -0400 |
commit | b8b0f559c7b1dcf5503817e518c81c9a18ee45e0 (patch) | |
tree | 99850c87a7eda4693409291bacdc7c1d07fe2498 /drivers/xen/tmem.c | |
parent | 4d9310e39728a87c86eb48492da7546f61189633 (diff) | |
download | linux-b8b0f559c7b1dcf5503817e518c81c9a18ee45e0.tar.bz2 |
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 'drivers/xen/tmem.c')
-rw-r--r-- | drivers/xen/tmem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/tmem.c b/drivers/xen/tmem.c index 89f264c67420..144564e5eb29 100644 --- a/drivers/xen/tmem.c +++ b/drivers/xen/tmem.c @@ -21,6 +21,7 @@ #include <asm/xen/hypercall.h> #include <asm/xen/page.h> #include <asm/xen/hypervisor.h> +#include <xen/tmem.h> #define TMEM_CONTROL 0 #define TMEM_NEW_POOL 1 |