clk: imx: fix compile testing imxrt1050
authorArnd Bergmann <arnd@arndb.de>
Thu, 15 Dec 2022 16:58:18 +0000 (17:58 +0100)
committerStephen Boyd <sboyd@kernel.org>
Fri, 10 Feb 2023 23:25:33 +0000 (15:25 -0800)
commit64ea30d1a192e2866397169ebfe3d0109878d040
tree51e8f5ee14c312ff30e66c1d1f454cd39e85710a
parentf89ea8f9ce9a76af895cada153fde6e39908aac0
clk: imx: fix compile testing imxrt1050

Randconfig testing revealed multiple issues with this driver:

ERROR: modpost: missing MODULE_LICENSE() in drivers/clk/imx/clk-imxrt1050.o
ERROR: modpost: "imx_clk_hw_pllv3" [drivers/clk/imx/clk-imxrt1050.ko] undefined!
ERROR: modpost: "imx_clk_hw_pfd" [drivers/clk/imx/clk-imxrt1050.ko] undefined!

Export the necessary symbols from the core clk driver and add the
license and author tags. To find this type of problem more easily
in the future, also enable building on other platforms, as we do for
the other i.MX clk drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20221215165836.2136448-1-arnd@kernel.org
Acked-by: Jesse Taube <Mr.Bossman075@gmail.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/Kconfig
drivers/clk/imx/clk-imxrt1050.c
drivers/clk/imx/clk-pfd.c
drivers/clk/imx/clk-pllv3.c