aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2013-11-14 04:41:30 -0500
committerSteven Miao <realmz6@gmail.com>2013-11-15 05:14:55 -0500
commit36855dcfc980f247909b8f63776664c6ccb6f183 (patch)
tree6dcd6ceb7dea60d27034a6e917874d6e65b20edb /arch/blackfin
parent177a48fdc8a0156b32f96d9d0056361d88203983 (diff)
blackfin: fix build warning for unused variable
Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/mach-common/pm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c
index 4319568029fb..1387a94bcfd5 100644
--- a/arch/blackfin/mach-common/pm.c
+++ b/arch/blackfin/mach-common/pm.c
@@ -141,7 +141,10 @@ static void flushinv_all_dcache(void)
141 141
142int bfin_pm_suspend_mem_enter(void) 142int bfin_pm_suspend_mem_enter(void)
143{ 143{
144 int wakeup, ret; 144 int ret;
145#ifndef CONFIG_BF60x
146 int wakeup;
147#endif
145 148
146 unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH 149 unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH
147 + L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH, 150 + L1_DATA_B_LENGTH + L1_SCRATCH_LENGTH,