Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56e0873b authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

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



This patch makes the needlessly global num_pages_spanned() static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 882d02d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@
#include <asm/io.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>


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