diff options
author | Will Deacon <will@kernel.org> | 2022-03-09 15:21:37 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-03-09 15:21:37 +0300 |
commit | 770093459b9b333380aa71f2c31c60b14895c1df (patch) | |
tree | 9df8f6aa68ee76ca20d87843218e958497c4123d /include/dt-bindings/reset/mt2701-resets.h | |
parent | 819a47d24b61b5e2d660d19c8798f0f9b4498b73 (diff) | |
download | linux-770093459b9b333380aa71f2c31c60b14895c1df.tar.xz |
arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
Commit 031495635b46 ("arm64: Do not defer reserve_crashkernel() for
platforms with no DMA memory zones") introduced different definitions
for 'arm64_dma_phys_limit' depending on CONFIG_ZONE_DMA{,32} based on
a late suggestion from Pasha. Sadly, this results in a build error when
passing W=1:
| arch/arm64/mm/init.c:90:19: error: conflicting type qualifiers for 'arm64_dma_phys_limit'
Drop the 'const' for now and use '__ro_after_init' consistently.
Link: https://lore.kernel.org/r/202203090241.aj7paWeX-lkp@intel.com
Link: https://lore.kernel.org/r/CA+CK2bDbbx=8R=UthkMesWOST8eJMtOGJdfMRTFSwVmo0Vn0EA@mail.gmail.com
Fixes: 031495635b46 ("arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones")
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'include/dt-bindings/reset/mt2701-resets.h')
0 files changed, 0 insertions, 0 deletions