Skip to content

Commit b45120f

Browse files
Luo Jieandersson
authored andcommitted
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>
1 parent f8d1dca commit b45120f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/qcom/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ config IPQ_GCC_9574
255255

256256
config IPQ_NSSCC_QCA8K
257257
tristate "QCA8K(QCA8386 or QCA8084) NSS Clock Controller"
258-
depends on MDIO_BUS || COMPILE_TEST
258+
depends on MDIO_BUS
259259
help
260260
Support for NSS(Network SubSystem) clock controller on
261261
qca8386/qca8084 chip.

0 commit comments

Comments
 (0)