From a77b005ee2d980620166c45d0d75e8826ea4c018 Mon Sep 17 00:00:00 2001 From: Nuno Sa Date: Fri, 14 Jun 2024 16:24:42 +0200 Subject: [PATCH] iio: multiplexer: iio-gen-mux: don't allow module compilation Only allow the driver to be compiled built-in as it makes use of __clk_lookup() which is not an exported function. As we lived this far without needing the driver to be supported as module and supporting it is not trivial, let's go the easy (lazy) path. Fixes: bff49e8a32cd ("iio: multiplexer: iio-gen-mux: Generic IIO driver to control MUXes") Signed-off-by: Nuno Sa --- drivers/iio/multiplexer/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/multiplexer/Kconfig b/drivers/iio/multiplexer/Kconfig index efd750b8f4e1f5..3d06bb5210eb50 100644 --- a/drivers/iio/multiplexer/Kconfig +++ b/drivers/iio/multiplexer/Kconfig @@ -16,7 +16,7 @@ config IIO_MUX module will be called iio-mux. config IIO_GEN_MUX - tristate "IIO generic multiplexer driver" + bool "IIO generic multiplexer driver" select MULTIPLEXER depends on OF help