1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/arch/mips
Randy Dunlap e8f67482e5 mips: bcm63xx: add support for clk_get_parent()
BCM63XX selects HAVE_LEGACY_CLK but does not provide/support
clk_get_parent(), so add a simple implementation of that
function so that callers of it will build without errors.

Fixes these build errors:

mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4770_adc_init_clk_div':
ingenic-adc.c:(.text+0xe4): undefined reference to `clk_get_parent'
mips-linux-ld: drivers/iio/adc/ingenic-adc.o: in function `jz4725b_adc_init_clk_div':
ingenic-adc.c:(.text+0x1b8): undefined reference to `clk_get_parent'

Fixes: e7300d04bd ("MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs." )
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Cc: Artur Rojek <contact@artur-rojek.eu>
Cc: Paul Cercueil <paul@crapouillou.net>
Cc: linux-mips@vger.kernel.org
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: linux-iio@vger.kernel.org
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-11-16 09:27:28 +01:00
..
alchemy
ar7
ath25
ath79
bcm47xx
bcm63xx mips: bcm63xx: add support for clk_get_parent() 2021-11-16 09:27:28 +01:00
bmips
boot Devicetree fixes for v5.16, take 1: 2021-11-14 11:11:51 -08:00
cavium-octeon - added printing of CPU options for /proc/cpuinfo 2021-11-05 08:13:19 -07:00
cobalt
configs MIPS: Update bmips_stb_defconfig 2021-11-09 16:08:24 +01:00
crypto
dec MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
fw
generic MIPS: generic/yamon-dt: fix uninitialized variable error 2021-11-16 09:27:01 +01:00
include - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
ingenic
jazz
kernel MIPS: syscalls: Wire up futex_waitv syscall 2021-11-16 09:25:48 +01:00
kvm - added printing of CPU options for /proc/cpuinfo 2021-11-05 08:13:19 -07:00
lantiq
lib
loongson2ef
loongson32
loongson64 Merge branch 'akpm' (patches from Andrew) 2021-11-06 14:08:17 -07:00
math-emu
mm Merge branch 'akpm' (patches from Andrew) 2021-11-06 14:08:17 -07:00
mti-malta
n64
net
pci - added printing of CPU options for /proc/cpuinfo 2021-11-05 08:13:19 -07:00
pic32
power
ralink
rb532
sgi-ip22 MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
sgi-ip27 - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
sgi-ip30 memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
sgi-ip32 MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
sibyte - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
sni
tools
txx9 MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
vdso MIPS: VDSO: remove -nostdlib compiler flag 2021-11-09 16:09:37 +01:00
vr41xx
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kbuild.platforms MIPS: fix duplicated slashes for Platform file path 2021-11-09 16:11:52 +01:00
Kconfig - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
Kconfig.debug
Makefile - Config updates for BMIPS platform 2021-11-13 09:11:33 -08:00
Makefile.postlink