mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
Calling platform-specific code unconditionally blows up when running
an ARCH_MULTIPLATFORM kernel on a different platform. Don't do it.
Reported-by: Paolo Pisati <[email protected]>
Signed-off-by: Marc Gonzalez <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Cc: [email protected] # v4.8+
Fixes: a30eceb7a5 ("ARM: tango: add Suspend-to-RAM support")
Signed-off-by: Arnd Bergmann <[email protected]>
8 lines
135 B
C
8 lines
135 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifdef CONFIG_SUSPEND
|
|
void __init tango_pm_init(void);
|
|
#else
|
|
#define tango_pm_init NULL
|
|
#endif
|