Skip to content

Commit

Permalink
clk: ingenic: Allow drivers to be built with COMPILE_TEST
Browse files Browse the repository at this point in the history
We don't need the MIPS architecture or even a MIPS compiler to compile
test these drivers. Let's add a COMPILE_TEST possibility on the
menuconfig here so that we can build these drivers on more
configurations.

Cc: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20191114001925.159276-1-sboyd@kernel.org
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
  • Loading branch information
Stephen Boyd committed Nov 22, 2019
1 parent b9df399 commit cd94ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/ingenic/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "Ingenic SoCs drivers"
depends on MIPS
depends on MIPS || COMPILE_TEST

config INGENIC_CGU_COMMON
bool
Expand Down

0 comments on commit cd94ead

Please sign in to comment.