]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: nsscc-qca8k: Fix the MDIO functions undefined issue
authorLuo Jie <quic_luoj@quicinc.com>
Mon, 17 Jun 2024 09:38:06 +0000 (17:38 +0800)
committerBjorn Andersson <andersson@kernel.org>
Fri, 21 Jun 2024 05:54:39 +0000 (00:54 -0500)
commitb45120fbd39825ca0d32e39309c30a9e9d567cd8
tree26db89c06159524620fa61bd5fe5651d980ab628
parentf8d1dca6c44dff362102b1f535b6dab552edb760
clk: qcom: nsscc-qca8k: Fix the MDIO functions undefined issue

The clock controller driver of QCA8K depends on MDIO_BUS because
of mdio_module_driver used to register the driver.

This patch fixes the following undefined symbols.
ERROR: modpost: "mdio_driver_register"
[drivers/clk/qcom/nsscc-qca8k.ko] undefined!
ERROR: modpost: "mdio_driver_unregister"
[drivers/clk/qcom/nsscc-qca8k.ko] undefined!
ERROR: modpost: "__mdiobus_write"
[drivers/clk/qcom/nsscc-qca8k.ko] undefined!
ERROR: modpost: "__mdiobus_read"
[drivers/clk/qcom/nsscc-qca8k.ko] undefined!

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406161634.B27sOs8B-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202406162047.QkUMa2fG-lkp@intel.com/
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Link: https://lore.kernel.org/r/20240617093806.3461165-1-quic_luoj@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/Kconfig