Skip to content

Commit 0242faf

Browse files
pelwellpopcornmix
authored andcommitted
staging: vchiq_arm: Add log_level module params
Add module parameters to control the logging levels for the various vchiq logging categories. Signed-off-by: Phil Elwell <[email protected]>
1 parent dddd396 commit 0242faf

File tree

1 file changed

+5
-0
lines changed
  • drivers/staging/vc04_services/interface/vchiq_arm

1 file changed

+5
-0
lines changed

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
/* Run time control of log level, based on KERN_XXX level. */
6565
int vchiq_arm_log_level = VCHIQ_LOG_DEFAULT;
6666
int vchiq_susp_log_level = VCHIQ_LOG_ERROR;
67+
module_param_named(arm_log_level, vchiq_arm_log_level, int, 0644);
68+
module_param_named(susp_log_level, vchiq_susp_log_level, int, 0644);
69+
module_param_named(core_log_level, vchiq_core_log_level, int, 0644);
70+
module_param_named(core_msg_log_level, vchiq_core_msg_log_level, int, 0644);
71+
module_param_named(sync_log_level, vchiq_sync_log_level, int, 0644);
6772

6873
DEFINE_SPINLOCK(msg_queue_spinlock);
6974
struct vchiq_state g_state;

0 commit comments

Comments
 (0)