1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Sample HCK
4 *
5 */
6#include <linux/module.h>
7#include <linux/init.h>
8#include <linux/hck/lite_hck_sample.h>
9
10void get_boot_power_config(int* info)
11{
12	pr_info("hck sample: intf-2 run\n");
13	*info = 2;
14}
15
16static int __init samplehckone_init(void)
17{
18	pr_info("hck sample register_one\n");
19	REGISTER_HCK_LITE_HOOK(get_boot_config_lhck, get_boot_power_config);
20
21	return 0;
22}
23
24static void __exit samplehckone_exit(void)
25{
26}
27
28module_init(samplehckone_init);
29module_exit(samplehckone_exit);
30MODULE_LICENSE("GPL v2");
31MODULE_AUTHOR("zhujiaxin <zhujiaxin@huawei.com>");
32