projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177a48f
)
blackfin: fix build warning for unused variable
author
Steven Miao
<realmz6@gmail.com>
Thu, 14 Nov 2013 09:41:30 +0000
(17:41 +0800)
committer
Steven Miao
<realmz6@gmail.com>
Fri, 15 Nov 2013 10:14:55 +0000
(18:14 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/mach-common/pm.c
patch
|
blob
|
history
diff --git
a/arch/blackfin/mach-common/pm.c
b/arch/blackfin/mach-common/pm.c
index 4319568029fb2799ee51b9b83621bc9f2bae1bea..1387a94bcfd5a30e68fb00d9e293eea7db710d98 100644
(file)
--- a/
arch/blackfin/mach-common/pm.c
+++ b/
arch/blackfin/mach-common/pm.c
@@
-141,7
+141,10
@@
static void flushinv_all_dcache(void)
int bfin_pm_suspend_mem_enter(void)
{
- int wakeup, ret;
+ int ret;
+#ifndef CONFIG_BF60x
+ int wakeup;
+#endif
unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH
+ L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH,