Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1255579
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST |
| Date | 2015-10-25 23:50 +0100 |
| Message-ID | <qnCgW-hK-15@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is
enabled") allowed clk drives to be compile tested on other archs but
the COMMON_CLK_VERSATILE was only enabled on platforms that already
selected OF support so the drivers assume it will always be enabled.
So, restrict compile test for these drivers only if OF is enabled.
Fixes: 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is enabled")
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
drivers/clk/versatile/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig
index fc50b6264bed..e85863cf145f 100644
--- a/drivers/clk/versatile/Kconfig
+++ b/drivers/clk/versatile/Kconfig
@@ -1,6 +1,6 @@
config COMMON_CLK_VERSATILE
bool "Clock driver for ARM Reference designs"
- depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64 || COMPILE_TEST
+ depends on ARCH_INTEGRATOR || ARCH_REALVIEW || ARCH_VEXPRESS || ARM64 || (COMPILE_TEST && OF)
---help---
Supports clocking on ARM Reference designs:
- Integrator/AP and Integrator/CP
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-25 23:50 +0100
Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Geert Uytterhoeven <geert@linux-m68k.org> - 2015-10-26 10:10 +0100
Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-26 15:50 +0100
Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Stephen Boyd <sboyd@codeaurora.org> - 2015-10-26 20:00 +0100
Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-26 23:10 +0100
csiph-web