]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit1e7468bd9d30a21e059af477106dc5588ae52dff
tree8c77f6d367ef5df2300f9218a97dfec43ea0c5d3
parentc2407ab3bd55064d459bc822efd1c134e852798c
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