mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
24ec321ee7
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>
29 lines
569 B
C
29 lines
569 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 secmon_main_init(void)
|
|
{
|
|
pr_debug("### %s() start\n", __func__);
|
|
call_sub_init(meson_secmon_init);
|
|
call_sub_init(dolby_fw_init);
|
|
pr_debug("### %s() end\n", __func__);
|
|
|
|
return 0;
|
|
}
|
|
|
|
static void __exit secmon_main_exit(void)
|
|
{
|
|
dolby_fw_exit();
|
|
}
|
|
|
|
module_init(secmon_main_init);
|
|
module_exit(secmon_main_exit);
|
|
MODULE_LICENSE("GPL v2");
|