Skip to content

Commit

Permalink
[IOAT]: drivers/dma/iovlock.c: make num_pages_spanned() static
Browse files Browse the repository at this point in the history
This patch makes the needlessly global num_pages_spanned() static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jul 4, 2006
1 parent 882d02d commit 56e0873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/iovlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) -
Expand Down

0 comments on commit 56e0873

Please sign in to comment.