mirror of https://github.com/torvalds/linux.git
DEFINE_CLK() makes the variable name be clk_xyz, so variable
'pll' should instead be 'clk_pll'.
In file included from ../arch/m68k/coldfire/m525x.c:12:
../arch/m68k/coldfire/m525x.c:29:30: error: 'pll' undeclared here (not in a function)
29 | CLKDEV_INIT(NULL, "pll.0", &pll),
| ^~~
../include/linux/clkdev.h:30:10: note: in definition of macro 'CLKDEV_INIT'
30 | .clk = c, \
| ^
In file included from ../arch/m68k/coldfire/m525x.c:21:
../arch/m68k/include/asm/mcfclk.h:43:27: warning: 'clk_pll' defined but not used [-Wunused-variable]
43 | static struct clk clk_##clk_ref = { \
| ^~~~
../arch/m68k/coldfire/m525x.c:25:1: note: in expansion of macro 'DEFINE_CLK'
25 | DEFINE_CLK(pll, "pll.0", MCF_CLK);
| ^~~~~~~~~~
Fixes:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| amcore.c | ||
| cache.c | ||
| clk.c | ||
| device.c | ||
| dma.c | ||
| dma_timer.c | ||
| entry.S | ||
| firebee.c | ||
| gpio.c | ||
| head.S | ||
| intc-2.c | ||
| intc-525x.c | ||
| intc-5249.c | ||
| intc-5272.c | ||
| intc-simr.c | ||
| intc.c | ||
| m53xx.c | ||
| m54xx.c | ||
| m520x.c | ||
| m523x.c | ||
| m525x.c | ||
| m527x.c | ||
| m528x.c | ||
| m5206.c | ||
| m5249.c | ||
| m5272.c | ||
| m5307.c | ||
| m5407.c | ||
| m5441x.c | ||
| mcf8390.c | ||
| nettel.c | ||
| pci.c | ||
| pit.c | ||
| reset.c | ||
| sltimers.c | ||
| stmark2.c | ||
| timers.c | ||
| vectors.c | ||