0001
0002
0003
0004
0005
0006
0007
0008 #include <linux/types.h>
0009 #include <linux/device.h>
0010 #include <linux/debugfs.h>
0011
0012 #include "intel_th.h"
0013 #include "debug.h"
0014
0015 struct dentry *intel_th_dbg;
0016
0017 void intel_th_debug_init(void)
0018 {
0019 intel_th_dbg = debugfs_create_dir("intel_th", NULL);
0020 if (IS_ERR(intel_th_dbg))
0021 intel_th_dbg = NULL;
0022 }
0023
0024 void intel_th_debug_done(void)
0025 {
0026 debugfs_remove(intel_th_dbg);
0027 intel_th_dbg = NULL;
0028 }