Files
kernel_common_drivers/drivers/seckey/main.h
T
Doosan Baek 3b400e5b37 KT: move old keytable driver to new keytable driver [1/1]
PD#SWPL-135332

Problem:
Ensure old keyable driver compatibility.
Maintain the old keytable driver for one year.

Solution:
Move old keytable driver to new keytable driver

Verify:
T3 metacas

Change-Id: I40fb4935f6f0f08ca9be4044cfe760f03b6c85c2
Signed-off-by: Doosan Baek <doosan.baek@amlogic.com>
2023-08-30 20:13:36 -07:00

49 lines
812 B
C

/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef __SECKEY_MAIN_H_
#define __SECKEY_MAIN_H_
#if IS_ENABLED(CONFIG_AMLOGIC_SECKEY_KL)
int aml_seckey_kl_init(void);
void aml_seckey_kl_exit(void);
#else
static inline int aml_seckey_kl_init(void)
{
return 0;
}
static inline void aml_seckey_kl_exit(void)
{
}
#endif
#if IS_ENABLED(CONFIG_AMLOGIC_SECKEY_KT)
int aml_seckey_kt_init(void);
void aml_seckey_kt_exit(void);
int aml_key_driver_init(void);
void aml_key_driver_exit(void);
#else
static inline int aml_seckey_kt_init(void)
{
return 0;
}
static inline void aml_seckey_kt_exit(void)
{
}
static inline int aml_key_driver_init(void)
{
return 0;
}
static inline void aml_key_driver_exit(void)
{
}
#endif
#endif /*__SECKEY_MAIN_H_*/