linux/arch/mips/bcm63xx
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
..
boards MIPS: BCM63xx: switch to SPDX license identifier 2020-08-17 13:10:31 +02:00
clk.c mips: bcm63xx: add support for clk_get_parent() 2021-11-16 09:27:28 +01:00
cpu.c MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
cs.c
dev-enet.c MIPS: BCM63XX: provide DMA masks for ethernet devices 2019-02-25 12:56:39 -08:00
dev-flash.c MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
dev-hsspi.c
dev-pcmcia.c
dev-rng.c
dev-spi.c
dev-uart.c
dev-usb-usbd.c
dev-wdt.c
early_printk.c mips: unify prom_putchar() declarations 2018-07-17 09:40:17 -07:00
gpio.c MIPS: BCM63XX: Use BUG_ON instead of condition followed by BUG. 2021-04-26 10:23:52 +02:00
irq.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile MIPS: BCM63XX: drop unused and broken DSP platform device 2018-12-31 07:12:35 -08:00
nvram.c
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
prom.c MIPS: Remove empty prom_free_prom_memory functions 2021-01-07 17:11:33 +01:00
reset.c MIPS: BCM63XX: fix switch core reset on BCM6368 2018-12-23 07:57:11 -08:00
setup.c MIPS: replace add_memory_region with memblock 2020-10-12 12:01:36 +02:00
timer.c