Files
kernel_common_drivers/drivers/secmon/main.h
T
Wanwei Jiang 24ec321ee7 secmon: combine secmon and dolbyfw modules [1/1]
PD#SWPL-95684

Problem:
combine secmon and dolbyfw modules

Solution:
result: amlogic-secmon.ko
original:
	amlogic-secmon.ko
	amlogic-dolbyfw.ko

Verify:
sc2

Change-Id: Ibc809a6f9ec1850b050a2aca0660f0607afbd5b4
Signed-off-by: Wanwei Jiang <wanwei.jiang@amlogic.com>
2022-11-05 12:06:46 +08:00

33 lines
535 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef _SECMON_MAIN_H__
#define _SECMON_MAIN_H__
#if IS_ENABLED(CONFIG_AMLOGIC_SECMON)
int meson_secmon_init(void);
#else
static inline int meson_secmon_init(void)
{
return 0;
}
#endif
#if IS_ENABLED(CONFIG_AMLOGIC_DOLBY_FW)
int dolby_fw_init(void);
void dolby_fw_exit(void);
#else
static inline int dolby_fw_init(void)
{
return 0;
}
static inline void dolby_fw_exit(void)
{
}
#endif
#endif /* _SECMON_MAIN_H__ */