Ver Fonte

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>
Steven Miao há 13 anos atrás
pai
commit
672552adb3
2 ficheiros alterados com 3 adições e 1 exclusões
  1. 0 1
      arch/blackfin/include/asm/pm.h
  2. 3 0
      arch/blackfin/kernel/setup.c

+ 0 - 1
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 {

+ 3 - 0
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);