Skip to content

Commit

Permalink
[PATCH] Export pm_suspend for the shared APM emulation
Browse files Browse the repository at this point in the history
The new shared APM emulation just like its ARM and MIPS predecessors uses
pm_suspend() which was only exported on SH.  Move export to close to it's
definition where it really should be anyway.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Ralf Baechle authored and Linus Torvalds committed Dec 7, 2006
1 parent 49033c8 commit 4cf3034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions arch/sh/kernel/sh_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ EXPORT_SYMBOL(__down_trylock);
EXPORT_SYMBOL(synchronize_irq);
#endif

#ifdef CONFIG_PM
EXPORT_SYMBOL(pm_suspend);
#endif

EXPORT_SYMBOL(csum_partial);
#ifdef CONFIG_IPV6
EXPORT_SYMBOL(csum_ipv6_magic);
Expand Down
3 changes: 2 additions & 1 deletion kernel/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*
*/

#include <linux/module.h>
#include <linux/suspend.h>
#include <linux/kobject.h>
#include <linux/string.h>
Expand Down Expand Up @@ -230,7 +231,7 @@ int pm_suspend(suspend_state_t state)
return -EINVAL;
}


EXPORT_SYMBOL(pm_suspend);

decl_subsys(power,NULL,NULL);

Expand Down

0 comments on commit 4cf3034

Please sign in to comment.