Netdev List
 help / color / mirror / Atom feed
* [patch 4/5] drivers/dma/iovlock.c: make num_pages_spanned() static
@ 2006-06-30  9:27 akpm
  2006-07-04  2:27 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-30  9:27 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, bunk

From: Adrian Bunk <bunk@stusta.de>

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>
---

 drivers/dma/iovlock.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/dma/iovlock.c~drivers-dma-iovlockc-make-num_pages_spanned-static drivers/dma/iovlock.c
--- a/drivers/dma/iovlock.c~drivers-dma-iovlockc-make-num_pages_spanned-static
+++ a/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) -
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-04  2:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  9:27 [patch 4/5] drivers/dma/iovlock.c: make num_pages_spanned() static akpm
2006-07-04  2:27 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox