video: rockchip: hdmi: change the way to enable debug log
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / hdmi / rockchip-hdmi-sysfs.c
index d5d965049db7168d01cf78d0b6b6ce8cda721526..c11d3452efb7bf6d5b0806a7e30aec1f03893996 100644 (file)
@@ -2,8 +2,12 @@
 #include <linux/string.h>
 #include <linux/display-sys.h>
 #include <linux/interrupt.h>
+#include <linux/moduleparam.h>
 #include "rockchip-hdmi.h"
 
+int hdmi_dbg_level;
+module_param(hdmi_dbg_level, int, S_IRUGO | S_IWUSR);
+
 static int hdmi_get_enable(struct rk_display_device *device)
 {
        struct hdmi *hdmi = device->priv_data;