Merge tag 'printk-for-5.13-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / drivers / firmware / xilinx / zynqmp-debug.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Xilinx Zynq MPSoC Firmware layer
4  *
5  *  Copyright (C) 2014-2018 Xilinx
6  *
7  *  Michal Simek <michal.simek@xilinx.com>
8  *  Davorin Mista <davorin.mista@aggios.com>
9  *  Jolly Shah <jollys@xilinx.com>
10  *  Rajan Vaja <rajanv@xilinx.com>
11  */
12
13 #ifndef __FIRMWARE_ZYNQMP_DEBUG_H__
14 #define __FIRMWARE_ZYNQMP_DEBUG_H__
15
16 #if IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE_DEBUG)
17 void zynqmp_pm_api_debugfs_init(void);
18 void zynqmp_pm_api_debugfs_exit(void);
19 #else
20 static inline void zynqmp_pm_api_debugfs_init(void) { }
21 static inline void zynqmp_pm_api_debugfs_exit(void) { }
22 #endif
23
24 #endif /* __FIRMWARE_ZYNQMP_DEBUG_H__ */