mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
8e82c79f2e
PD#SWPL-133398 Problem: G12A upgrade from kernel 4.9 to kernel 5.15. Solution: G12A upgrade from kernel 4.9 to kernel 5.15. Verify: U212 Change-Id: Ie7e8e563d28048057c79cc8ac6d3f74af7854f13 Signed-off-by: hongyu.chen <hongyu.chen@amlogic.com>
80 lines
1.2 KiB
C
80 lines
1.2 KiB
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MAIN_H__
|
|
#define _MAIN_H__
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_DVB_EXTERN)
|
|
int aml_dvb_extern_init(void);
|
|
void aml_dvb_extern_exit(void);
|
|
#else
|
|
static inline int aml_dvb_extern_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void aml_dvb_extern_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_AUCPU)
|
|
s32 aucpu_init(void);
|
|
void aucpu_exit(void);
|
|
#else
|
|
static inline int aucpu_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void aucpu_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_DVB_DSM)
|
|
int dsm_init(void);
|
|
void dsm_exit(void);
|
|
#else
|
|
static inline int dsm_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void dsm_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_SMARTCARD)
|
|
int smc_sc2_mod_init(void);
|
|
void smc_sc2_mod_exit(void);
|
|
#else
|
|
static inline int smc_sc2_mod_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void smc_sc2_mod_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if IS_ENABLED(CONFIG_AMLOGIC_SMARTCARD)
|
|
int smc_mod_init(void);
|
|
void smc_mod_exit(void);
|
|
#else
|
|
static inline int smc_mod_init(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void smc_mod_exit(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* _DVB_MAIN_H__ */
|