mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 23:46:09 +07:00
7a9caf59f6
When building a kernel without CONFIG_PM, we get a link error from referencing mxs_pm_init in the machine descriptor. This defines a macro to NULL for that case. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Shawn Guo <shawn.guo@linaro.org>
19 lines
386 B
C
19 lines
386 B
C
/*
|
|
* Copyright (C) 2013 Freescale Semiconductor, Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef __ARCH_MXS_PM_H
|
|
#define __ARCH_MXS_PM_H
|
|
|
|
#ifdef CONFIG_PM
|
|
void mxs_pm_init(void);
|
|
#else
|
|
#define mxs_pm_init NULL
|
|
#endif
|
|
|
|
#endif
|