Re: [PATCH v2] MIPS: ralink: define stubs for clk_set_parent to fix compile testing
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-03-25 10:02:14
Also in:
linux-tegra, lkml
From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2021-03-25 10:02:14
Also in:
linux-tegra, lkml
On Wed, Mar 17, 2021 at 12:26:44PM +0100, Krzysztof Kozlowski wrote:
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 <redacted>
Signed-off-by: Krzysztof Kozlowski <redacted>
Acked-by: John Crispin <john@phrozen.org>
---
Changes since v1:
1. Use EXPORT_SYMBOL_GPL like two other stubs in the file.
2. Add Ack
---
arch/mips/ralink/clk.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]