mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
f38f2c2a81
PD#SWPL-104278 Problem: add power domain. Solution: add power domain. Verify: sm1 Change-Id: I0aab1e2e3b65d279a4194095ded67b063cdfb7f7 Signed-off-by: hongyu.chen1 <hongyu.chen1@amlogic.com>
30 lines
592 B
C
30 lines
592 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 reset_main_init(void)
|
|
{
|
|
pr_debug("### %s() start\n", __func__);
|
|
call_sub_init(meson_reset_driver_init);
|
|
call_sub_init(reset_dos);
|
|
pr_debug("### %s() end\n", __func__);
|
|
|
|
return 0;
|
|
}
|
|
|
|
static void __exit reset_main_exit(void)
|
|
{
|
|
meson_reset_driver_exit();
|
|
reset_exit();
|
|
}
|
|
|
|
module_init(reset_main_init);
|
|
module_exit(reset_main_exit);
|
|
MODULE_LICENSE("GPL v2");
|