mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
b7fc4f5f71
PD#SWPL-92722 Problem: iotrace miss function Solution: add function in iotrace driver,like smc/sched/clk/pw Verify: S4D_AP222 Change-Id: Ie59bac5863e5a4420b90d95a0ecae0bcb0584fb6 Signed-off-by: song.han <song.han@amlogic.com>
29 lines
494 B
C
29 lines
494 B
C
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
#include <linux/module.h>
|
|
#include "main.h"
|
|
|
|
static int __init debug_main_init(void)
|
|
{
|
|
#ifdef CONFIG_AMLOGIC_DEBUG_LOCKUP
|
|
debug_lockup_init();
|
|
cpu_mhz_init();
|
|
#endif
|
|
#ifdef CONFIG_AMLOGIC_DEBUG_ATRACE
|
|
meson_atrace_init();
|
|
#endif
|
|
|
|
return 0;
|
|
}
|
|
|
|
static void __exit debug_main_exit(void)
|
|
{
|
|
}
|
|
|
|
subsys_initcall(debug_main_init);
|
|
module_exit(debug_main_exit);
|
|
|
|
MODULE_LICENSE("GPL v2");
|