diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-03-10 20:43:24 +0900 |
---|---|---|
committer | Kyle McMartin <kyle@shortfin.cabal.ca> | 2008-03-15 19:17:12 -0700 |
commit | 56ee0cfd095eab246c0ecd4398c4f30a546663f7 (patch) | |
tree | 8bd4e3d1f8f1eafa26af18dfe1fe030b3418da46 /drivers/parisc/sba_iommu.c | |
parent | 0c634cc6299b55279fa2d3a7a5964ae45a642498 (diff) | |
download | linux-stable-56ee0cfd095eab246c0ecd4398c4f30a546663f7.tar.gz linux-stable-56ee0cfd095eab246c0ecd4398c4f30a546663f7.tar.bz2 linux-stable-56ee0cfd095eab246c0ecd4398c4f30a546663f7.zip |
[PARISC] make ptr_to_pide() static
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc/sba_iommu.c')
-rw-r--r-- | drivers/parisc/sba_iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index bdbe780e21c5..8c4d2c13d5f2 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c @@ -314,8 +314,8 @@ sba_dump_sg( struct ioc *ioc, struct scatterlist *startsg, int nents) #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) #define RESMAP_IDX_MASK (sizeof(unsigned long) - 1) -unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, - unsigned int bitshiftcnt) +static unsigned long ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, + unsigned int bitshiftcnt) { return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) + bitshiftcnt; |