mirror of https://github.com/torvalds/linux.git
Add the missing header "asm/time.h" which defines the function
prototypes of get_c0_perfcount_int() and get_c0_compare_int().
This patch fixes the following build warnings:
arch/mips/ralink/irq.c:86:5: error: no previous prototype for 'get_c0_perfcount_int' [-Werror=missing-prototypes]
86 | int get_c0_perfcount_int(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/mips/ralink/irq.c:92:14: error: no previous prototype for 'get_c0_compare_int' [-Werror=missing-prototypes]
92 | unsigned int get_c0_compare_int(void)
| ^~~~~~~~~~~~~~~~~~
Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| Platform | ||
| bootrom.c | ||
| clk.c | ||
| common.h | ||
| early_printk.c | ||
| ill_acc.c | ||
| irq-gic.c | ||
| irq.c | ||
| mt7620.c | ||
| mt7621.c | ||
| of.c | ||
| prom.c | ||
| reset.c | ||
| rt288x.c | ||
| rt305x.c | ||
| rt3883.c | ||
| timer-gic.c | ||
| timer.c | ||