diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2016-09-29 21:59:15 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-30 23:21:05 +0530 |
commit | 2e0cc304e984290935c70fdbe589931e552d7d94 (patch) | |
tree | efc9b87b2b55c190bc54fde2e1f5f7f99e482348 /drivers | |
parent | 3757dc48a66f829cf6ba82a612ba4587ab4b5f1c (diff) | |
download | linux-2e0cc304e984290935c70fdbe589931e552d7d94.tar.bz2 |
dma-debug: fix ia64 build, use PHYS_PFN
kbuild test robot reports:
lib/dma-debug.c: In function 'debug_dma_map_resource':
>> lib/dma-debug.c:1541:16: error: implicit declaration of function '__phys_to_pfn' [-Werror=implicit-function-declaration]
entry->pfn = __phys_to_pfn(addr);
^~~~~~~~~~~~~
ia64 does not provide __phys_to_pfn(), use the PHYS_PFN() alias.
Fixes: 0e74b34dfc3318bf ("dma-debug: add support for resource mappings")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions