MIPS: ralink: define stubs for clk_set_parent to fix compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Wed, 17 Mar 2021 11:26:44 +0000 (12:26 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 25 Mar 2021 09:47:52 +0000 (10:47 +0100)
commit84a0124a9d715d844675c8cfbe5bbc9147121f73
tree80d701e710042e3b893d8ce6a914f7b251945eb1
parent3953ec08df35c0f8e2bbbe6bcf21ec775dab5410
MIPS: ralink: define stubs for clk_set_parent to fix compile testing

The Ralink MIPS platform does not use Common Clock Framework and does
not define certain clock operations leading to compile test failures:

    /usr/bin/mips-linux-gnu-ld: drivers/usb/phy/phy-tegra-usb.o: in function `tegra_usb_phy_init':
    phy-tegra-usb.c:(.text+0x1dd4): undefined reference to `clk_get_parent'

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: John Crispin <john@phrozen.org>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/ralink/clk.c