浏览代码

[PARISC] Move pm_power_off export to process.c

Move the EXPORT_SYMBOL() of pm_power_off from parisc_ksyms.c to the
location of its definition in process.c

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Kyle McMartin 19 年之前
父节点
当前提交
9073315bbc
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 0 3
      arch/parisc/kernel/parisc_ksyms.c
  2. 1 0
      arch/parisc/kernel/process.c

+ 0 - 3
arch/parisc/kernel/parisc_ksyms.c

@@ -48,9 +48,6 @@ EXPORT_SYMBOL(strrchr);
 EXPORT_SYMBOL(strstr);
 EXPORT_SYMBOL(strstr);
 EXPORT_SYMBOL(strpbrk);
 EXPORT_SYMBOL(strpbrk);
 
 
-#include <linux/pm.h>
-EXPORT_SYMBOL(pm_power_off);
-
 #include <asm/atomic.h>
 #include <asm/atomic.h>
 EXPORT_SYMBOL(__xchg8);
 EXPORT_SYMBOL(__xchg8);
 EXPORT_SYMBOL(__xchg32);
 EXPORT_SYMBOL(__xchg32);

+ 1 - 0
arch/parisc/kernel/process.c

@@ -60,6 +60,7 @@ static int hlt_counter __read_mostly;
  * Power off function, if any
  * Power off function, if any
  */ 
  */ 
 void (*pm_power_off)(void);
 void (*pm_power_off)(void);
+EXPORT_SYMBOL(pm_power_off);
 
 
 void disable_hlt(void)
 void disable_hlt(void)
 {
 {