summaryrefslogtreecommitdiff
path: root/arch/blackfin
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-05-16 11:54:31 +0400
committerBob Liu <lliubbo@gmail.com>2012-05-21 10:55:07 +0400
commit672552adb3197c5db3acc8800c7917bcff180461 (patch)
treef9af12be327191b6fd71534d0ec27fd881630410 /arch/blackfin
parentbda45b8f344069179ca6ed1317fae6365134daef (diff)
downloadlinux-672552adb3197c5db3acc8800c7917bcff180461.tar.xz
blackfin: fix build after add bf60x mach/pm.h
Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/pm.h1
-rw-r--r--arch/blackfin/kernel/setup.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/pm.h b/arch/blackfin/include/asm/pm.h
index da63b46e0c68..f72239bf3638 100644
--- a/arch/blackfin/include/asm/pm.h
+++ b/arch/blackfin/include/asm/pm.h
@@ -9,7 +9,6 @@
#ifndef __PM_H__
#define __PM_H__
-#include <mach/pm.h>
#include <linux/suspend.h>
struct bfin_cpu_pm_fns {
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 0053e1bc0c6a..ada8f0fc71e4 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -32,6 +32,9 @@
#include <asm/early_printk.h>
#include <asm/irq_handler.h>
#include <asm/pda.h>
+#ifdef CONFIG_BF60x
+#include <mach/pm.h>
+#endif
u16 _bfin_swrst;
EXPORT_SYMBOL(_bfin_swrst);