mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
Merge "defconfig: lahaina: Enable qbt_handler DLKM"
This commit is contained in:
commit
48d15fcc0b
2 changed files with 19 additions and 1 deletions
1
arch/arm64/configs/vendor/lahaina_GKI.config
vendored
1
arch/arm64/configs/vendor/lahaina_GKI.config
vendored
|
|
@ -120,6 +120,7 @@ CONFIG_CNSS_UTILS=m
|
|||
CONFIG_CNSS_GENL=m
|
||||
CONFIG_WCNSS_MEM_PRE_ALLOC=m
|
||||
CONFIG_QCOM_SECURE_BUFFER=m
|
||||
CONFIG_MSM_QBT_HANDLER=m
|
||||
CONFIG_ION_MSM_HEAPS=m
|
||||
CONFIG_QCOM_CLK_RPMH=m
|
||||
CONFIG_QCOM_LAZY_MAPPING=m
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
#include <linux/time.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/platform_device.h>
|
||||
|
|
@ -1171,7 +1172,23 @@ static struct platform_driver qbt_plat_driver = {
|
|||
},
|
||||
};
|
||||
|
||||
module_platform_driver(qbt_plat_driver);
|
||||
static int __init qbt_handler_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
pr_debug("entry\n");
|
||||
ret = platform_driver_register(&qbt_plat_driver);
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __exit qbt_handler_exit(void)
|
||||
{
|
||||
pr_debug("entry\n");
|
||||
platform_driver_unregister(&qbt_plat_driver);
|
||||
}
|
||||
|
||||
module_init(qbt_handler_init);
|
||||
module_exit(qbt_handler_exit);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_DESCRIPTION("Qualcomm Technologies, Inc. QBT HANDLER");
|
||||
|
|
|
|||
Loading…
Reference in a new issue