From: Heiko Carstens Date: Mon, 7 Jan 2013 12:56:17 +0000 (+0100) Subject: s390/pm: export pm_power_off X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0872922f5dc24783101a2dd111ee406ea965a094;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 2568590973ad..a5360de85ec7 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -16,7 +16,7 @@ #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt #include -#include +#include #include #include #include @@ -289,6 +289,7 @@ void machine_power_off(void) * Dummy power off function. */ void (*pm_power_off)(void) = machine_power_off; +EXPORT_SYMBOL_GPL(pm_power_off); static int __init early_parse_mem(char *p) {