mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
haven: ctrl: Enable setting trace class
Clean up compiler warnings in haven control driver. Change-Id: I6246a108f2e30c812071df9e5c1adbce12853fbf Signed-off-by: Elliot Berman <[email protected]>
This commit is contained in:
parent
66b4463f98
commit
6e9663dcc1
2 changed files with 6 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#define pr_fmt(fmt) "haven: "
|
||||
#define pr_fmt(fmt) "haven: " fmt
|
||||
|
||||
#include <linux/arm-smccc.h>
|
||||
#include <linux/debugfs.h>
|
||||
|
|
@ -120,6 +120,7 @@ static int hh_dbgfs_trace_class_clear(void *data, u64 val)
|
|||
|
||||
static int hh_dbgfs_trace_class_get(void *data, u64 *val)
|
||||
{
|
||||
*val = 0;
|
||||
return hh_remap_error(hh_hcall_trace_update_class_flags(0, 0, val));
|
||||
}
|
||||
|
||||
|
|
@ -211,3 +212,6 @@ static void __exit hh_ctrl_exit(void)
|
|||
hh_dbgfs_unregister();
|
||||
}
|
||||
module_exit(hh_ctrl_exit);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_DESCRIPTION("Qualcomm Technologies, Inc. Haven Hypervisor Control Driver");
|
||||
|
|
|
|||
Loading…
Reference in a new issue