mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| boards | ||
| Kconfig | ||
| Makefile | ||
| Platform | ||
| clk.c | ||
| cpu.c | ||
| cs.c | ||
| dev-enet.c | ||
| dev-flash.c | ||
| 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 | ||
| gpio.c | ||
| irq.c | ||
| nvram.c | ||
| prom.c | ||
| reset.c | ||
| setup.c | ||
| timer.c | ||