Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: staging: correct reference to config IOMEM to config HAS_IOMEM

Commit 0a0a66c984b3 ("clk: staging: Specify IOMEM dependency for Xilinx
Clocking Wizard driver") introduces a dependency on the non-existing config
IOMEM, which basically makes it impossible to include this driver into any
build. Fortunately, ./scripts/checkkconfigsymbols.py warns:

IOMEM
Referencing files: drivers/staging/clocking-wizard/Kconfig

The config for IOMEM support is called HAS_IOMEM. Correct this reference to
the intended config.

Fixes: 0a0a66c984b3 ("clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20210817105404.13146-1-lukas.bulwahn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lukas Bulwahn and committed by
Greg Kroah-Hartman
cbfa6f33 8f9172d2

+1 -1
+1 -1
drivers/staging/clocking-wizard/Kconfig
··· 5 5 6 6 config COMMON_CLK_XLNX_CLKWZRD 7 7 tristate "Xilinx Clocking Wizard" 8 - depends on COMMON_CLK && OF && IOMEM 8 + depends on COMMON_CLK && OF && HAS_IOMEM 9 9 help 10 10 Support for the Xilinx Clocking Wizard IP core clock generator.