mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PARISC] make ptr_to_pide() static
Signed-off-by: FUJITA Tomonori <[email protected]> Signed-off-by: Kyle McMartin <[email protected]>
This commit is contained in:
parent
0c634cc629
commit
56ee0cfd09
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue