mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
1bea2a937d
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:
|
||
---|---|---|
.. | ||
Kconfig | ||
litex_soc_ctrl.c | ||
Makefile |