Skip to content

Commit

Permalink
iio: multiplexer: iio-gen-mux: don't allow module compilation
Browse files Browse the repository at this point in the history
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: bff49e8 ("iio: multiplexer: iio-gen-mux: Generic IIO driver to control MUXes")
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
nunojsa committed Jun 17, 2024

Verified

This commit was signed with the committer’s verified signature.
legleux Michael Legleux
1 parent 36c6184 commit a77b005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/multiplexer/Kconfig
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a77b005

Please sign in to comment.