projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef923a7
)
MIPS: idle: Add prototype for function check_wait
author
Pujin Shi
<shipujin.t@gmail.com>
Sun, 27 Sep 2020 09:22:05 +0000
(17:22 +0800)
committer
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Sun, 27 Sep 2020 11:00:45 +0000
(13:00 +0200)
This commit adds a prototype to fix warning at W=1:
arch/mips/kernel/idle.c:126:13: error: no previous prototype for 'check_wait' [-Werror=missing-prototypes]
Signed-off-by: Pujin Shi <shipujin.t@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/idle.h
patch
|
blob
|
history
diff --git
a/arch/mips/include/asm/idle.h
b/arch/mips/include/asm/idle.h
index
655a6db
..
0992cad
100644
(file)
--- a/
arch/mips/include/asm/idle.h
+++ b/
arch/mips/include/asm/idle.h
@@
-15,6
+15,8
@@
static inline int using_rollback_handler(void)
return cpu_wait == r4k_wait;
}
+extern void __init check_wait(void);
+
extern int mips_cpuidle_wait_enter(struct cpuidle_device *dev,
struct cpuidle_driver *drv, int index);