mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
71de1a49bb
PD#SWPL-71728 Problem: add debug_lockup support Solution: add debug_lockup support Verify: s4 Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com> Change-Id: I578f6c22b8a41aae861871249248618230f18859
25 lines
410 B
C
25 lines
410 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)
|
|
{
|
|
debug_lockup_init();
|
|
cpu_mhz_init();
|
|
meson_atrace_init();
|
|
|
|
return 0;
|
|
}
|
|
|
|
static void __exit debug_main_exit(void)
|
|
{
|
|
}
|
|
|
|
subsys_initcall(debug_main_init);
|
|
module_exit(debug_main_exit);
|
|
|
|
MODULE_LICENSE("GPL v2");
|