Skip to content
Commit aed5041e authored by Catalin Marinas's avatar Catalin Marinas
Browse files

of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS



of_dma_get_max_cpu_address() is not defined if !CONFIG_OF_ADDRESS, so
return early in of_unittest_dma_get_max_cpu_address().

Fixes: 07d13a1d ("of: unittest: Add test for of_dma_get_max_cpu_address()")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 04435217
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment