Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cf30348 authored by Ralf Baechle's avatar Ralf Baechle Committed by Linus Torvalds
Browse files

[PATCH] Export pm_suspend for the shared APM emulation



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: default avatarRalf Baechle <ralf@linux-mips.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 49033c81
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);
+2 −1
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
 *
 */

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


EXPORT_SYMBOL(pm_suspend);

decl_subsys(power,NULL,NULL);