Browse Source

staging: wilc1000: Include KERN_ facility level for printk()

This patch includes KERN_ facility level for printk(). KERN_INFO is
justified here as the messages here are informational.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Janani Ravichandran 9 years ago
parent
commit
f7b7f87de7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/staging/wilc1000/wilc_debugfs.c

+ 2 - 2
drivers/staging/wilc1000/wilc_debugfs.c

@@ -69,9 +69,9 @@ static ssize_t wilc_debug_level_write(struct file *filp, const char __user *buf,
 	atomic_set(&WILC_DEBUG_LEVEL, (int)flag);
 
 	if (flag == 0)
-		printk("Debug-level disabled\n");
+		printk(KERN_INFO "Debug-level disabled\n");
 	else
-		printk("Debug-level enabled\n");
+		printk(KERN_INFO "Debug-level enabled\n");
 
 	return count;
 }