Skip to content

Commit 9fd2ba4

Browse files
vinceletsbogend
authored andcommitted
MIPS: ralink: Fix missing get_c0_perfcount_int prototype
Fix the following warning: CC arch/mips/ralink/irq-gic.o arch/mips/ralink/irq-gic.c:15:5: warning: no previous prototype for 'get_c0_perfcount_int' [-Wmissing-prototypes] 15 | int get_c0_perfcount_int(void) | ^~~~~~~~~~~~~~~~~~~~ Signed-off-by: Vincent Legoll <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 4f3089a commit 9fd2ba4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/ralink/irq-gic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/of.h>
1111
#include <linux/irqchip.h>
1212
#include <asm/mips-cps.h>
13+
#include <asm/time.h>
1314

1415
int get_c0_perfcount_int(void)
1516
{

0 commit comments

Comments
 (0)