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

Commit 0872922f authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

s390/pm: export pm_power_off



Export pm_power_off symbol. Needed by at least one of the new device
drivers that come with CONFIG_PCI.
And all other architectures export that symbol as well.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 87890f92
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt


#include <linux/errno.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/memblock.h>
@@ -289,6 +289,7 @@ void machine_power_off(void)
 * Dummy power off function.
 * Dummy power off function.
 */
 */
void (*pm_power_off)(void) = machine_power_off;
void (*pm_power_off)(void) = machine_power_off;
EXPORT_SYMBOL_GPL(pm_power_off);


static int __init early_parse_mem(char *p)
static int __init early_parse_mem(char *p)
{
{