projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
882d02d
)
[IOAT]: drivers/dma/iovlock.c: make num_pages_spanned() static
author
Adrian Bunk
<bunk@stusta.de>
Tue, 4 Jul 2006 02:27:20 +0000
(19:27 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Jul 2006 02:27:20 +0000
(19:27 -0700)
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>
drivers/dma/iovlock.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/iovlock.c
b/drivers/dma/iovlock.c
index 5ed327e453a20a412aeb86d02dd579c72c833789..d637555a833b78870f2f19da130d54d93e0d2f96 100644
(file)
--- a/
drivers/dma/iovlock.c
+++ b/
drivers/dma/iovlock.c
@@
-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) -