Files
kernel_common_drivers/drivers/dvb/main.c
T
hongyu.chen 8e82c79f2e smartcard: G12A upgrade from kernel 4.9 to kernel 5.15. [1/1]
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>
2023-11-01 20:36:53 -07:00

34 lines
716 B
C

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
//#define DEBUG
#include <linux/module.h>
#include <linux/amlogic/module_merge.h>
#include "main.h"
static int __init dvb_main_init(void)
{
pr_debug("### %s() start\n", __func__);
call_sub_init(aml_dvb_extern_init);
call_sub_init(aucpu_init);
call_sub_init(dsm_init);
call_sub_init(smc_sc2_mod_init);
call_sub_init(smc_mod_init);
pr_debug("### %s() end\n", __func__);
return 0;
}
static void __exit dvb_main_exit(void)
{
smc_mod_exit();
smc_sc2_mod_exit();
dsm_exit();
aucpu_exit();
aml_dvb_extern_exit();
}
module_init(dvb_main_init);
module_exit(dvb_main_exit);
MODULE_LICENSE("GPL v2");