aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorDavid Gow <[email protected]>2021-01-27 03:36:04 +0000
committerStafford Horne <[email protected]>2021-01-29 21:36:10 +0000
commit1bea2a937dadd188de70198b0cf3915e05a506e4 (patch)
tree2db7d414e8b577a38906f080988f1bd27fcb5879 /scripts/clang-tools/gen_compile_commands.py
parentLinux 5.11-rc5 (diff)
downloadkernel-1bea2a937dadd188de70198b0cf3915e05a506e4.tar.gz
kernel-1bea2a937dadd188de70198b0cf3915e05a506e4.zip
soc: litex: Properly depend on HAS_IOMEM
The LiteX SOC controller driver makes use of IOMEM functions like devm_platform_ioremap_resource(), which are only available if CONFIG_HAS_IOMEM is defined. This causes the driver to be enable under make ARCH=um allyesconfig, even though it won't build. By adding a dependency on HAS_IOMEM, the driver will not be enabled on architectures which don't support it. Fixes: 22447a99c97e ("drivers/soc/litex: add LiteX SoC Controller driver") Signed-off-by: David Gow <[email protected]> [[email protected]: Fix typo in commit message pointed out in review] Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions