]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/x86/xen/debugfs.c
ARM: dts: imx6ul-txul: enable I2C bus recovery
[karo-tx-linux.git] / arch / x86 / xen / debugfs.c
1 #include <linux/init.h>
2 #include <linux/debugfs.h>
3 #include <linux/slab.h>
4
5 #include "debugfs.h"
6
7 static struct dentry *d_xen_debug;
8
9 struct dentry * __init xen_init_debugfs(void)
10 {
11         if (!d_xen_debug) {
12                 d_xen_debug = debugfs_create_dir("xen", NULL);
13
14                 if (!d_xen_debug)
15                         pr_warning("Could not create 'xen' debugfs directory\n");
16         }
17
18         return d_xen_debug;
19 }
20