mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
29655631ae
PD#SWPL-112358 Problem: ad403 is missing pmic6b driver in kernel5.15. Solution: base Yu Tu 76117 and 78726; base Jian yi 189702 and 192916,216774; and yao jie 216898; Verify: A113L-AD401 #1 +Battery. all driver use ko; Change-Id: I911ca92dbe6f8c0f623e32fd14bdcf23a6318861 Signed-off-by: chengbing wu <chengbing.wu@amlogic.com>
28 lines
574 B
C
28 lines
574 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 regulator_main_init(void)
|
|
{
|
|
pr_debug("### %s() start\n", __func__);
|
|
call_sub_init(meson_pmic6b_regulator_init);
|
|
pr_debug("### %s() end\n", __func__);
|
|
return 0;
|
|
}
|
|
|
|
static void __exit regulator_main_exit(void)
|
|
{
|
|
meson_pmic6b_regulator_exit();
|
|
}
|
|
|
|
module_init(regulator_main_init);
|
|
module_exit(regulator_main_exit);
|
|
|
|
MODULE_LICENSE("GPL v2");
|