aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pfn_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pfn_t.h')
-rw-r--r--include/linux/pfn_t.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pfn_t.h b/include/linux/pfn_t.h
index 0703b5360d31..37448ab5fb5c 100644
--- a/include/linux/pfn_t.h
+++ b/include/linux/pfn_t.h
@@ -29,7 +29,7 @@ static inline pfn_t pfn_to_pfn_t(unsigned long pfn)
29 return __pfn_to_pfn_t(pfn, 0); 29 return __pfn_to_pfn_t(pfn, 0);
30} 30}
31 31
32extern pfn_t phys_to_pfn_t(dma_addr_t addr, unsigned long flags); 32extern pfn_t phys_to_pfn_t(phys_addr_t addr, unsigned long flags);
33 33
34static inline bool pfn_t_has_page(pfn_t pfn) 34static inline bool pfn_t_has_page(pfn_t pfn)
35{ 35{
@@ -48,7 +48,7 @@ static inline struct page *pfn_t_to_page(pfn_t pfn)
48 return NULL; 48 return NULL;
49} 49}
50 50
51static inline dma_addr_t pfn_t_to_phys(pfn_t pfn) 51static inline phys_addr_t pfn_t_to_phys(pfn_t pfn)
52{ 52{
53 return PFN_PHYS(pfn_t_to_pfn(pfn)); 53 return PFN_PHYS(pfn_t_to_pfn(pfn));
54} 54}