]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Specify IOMEM dependency for HSDK pll driver
authorDavid Gow <davidgow@google.com>
Tue, 30 Jun 2020 04:32:14 +0000 (21:32 -0700)
committerStephen Boyd <sboyd@kernel.org>
Sat, 11 Jul 2020 16:28:10 +0000 (09:28 -0700)
commitb9ff3f27f9120b5f65837cb752ff986e138e3a30
tree8c77f6d367ef5df2300f9218a97dfec43ea0c5d3
parent644df54017702cc68fd9578d7687df0823f90e1d
clk: Specify IOMEM dependency for HSDK pll driver

The HSDK pll driver uses the devm_ioremap_resource function, but does
not specify a dependency on IOMEM in Kconfig. This causes a build
failure on architectures without IOMEM, for example, UML (notably with
make allyesconfig).

Fix this by making CONFIG_CLK_HSDK depend on CONFIG_IOMEM.

Signed-off-by: David Gow <davidgow@google.com>
Link: https://lore.kernel.org/r/20200630043214.1080961-1-davidgow@google.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/Kconfig