summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-20 13:51:55 +0000
committerSven Wegener <sven.wegener@stealer.net>2009-02-08 23:36:00 +0000
commit23a12266595082a01a5e212c973fae5112a22c8d (patch)
treee9da30aa7a6dfdc3a66b527b7b015e32d03e7814
parentb0b3930bcf702263b194f377db842a966c54e8dc (diff)
swiotlb: sparse fixestmp/misc/sparse-fixes
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
-rw-r--r--lib/swiotlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c
index 1f991acc2a05..2c5b0c51c460 100644
--- a/lib/swiotlb.c
+++ b/lib/swiotlb.c
@@ -77,7 +77,7 @@ static unsigned long io_tlb_nslabs;
*/
static unsigned long io_tlb_overflow = 32*1024;
-void *io_tlb_overflow_buffer;
+static void *io_tlb_overflow_buffer;
/*
* This is a free list describing the number of free entries available from
@@ -168,7 +168,7 @@ static void swiotlb_print_info(unsigned long bytes)
* Statically reserve bounce buffer space and initialize bounce buffer data
* structures for the software IO TLB used to implement the DMA API.
*/
-void __init
+static void __init
swiotlb_init_with_default_size(size_t default_size)
{
unsigned long i, bytes;