[2.6 patch] drivers/dma/iovlock.c: make num_pages_spanned() static

From: Adrian Bunk
Date: Wed Jun 21 2006 - 17:57:43 EST


This patch makes the needlessly global num_pages_spanned() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.17-mm1-full/drivers/dma/iovlock.c.old 2006-06-21 22:49:48.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/dma/iovlock.c 2006-06-21 22:50:01.000000000 +0200
@@ -31,7 +31,7 @@
#include <asm/io.h>
#include <asm/uaccess.h>

-int num_pages_spanned(struct iovec *iov)
+static int num_pages_spanned(struct iovec *iov)
{
return
((PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/