License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / arch / x86 / xen / debugfs.c
blob13da87918b4f3288d1e437fa0c97390ec6a6810c
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/init.h>
3 #include <linux/debugfs.h>
4 #include <linux/slab.h>
6 #include "debugfs.h"
8 static struct dentry *d_xen_debug;
10 struct dentry * __init xen_init_debugfs(void)
12 if (!d_xen_debug) {
13 d_xen_debug = debugfs_create_dir("xen", NULL);
15 if (!d_xen_debug)
16 pr_warning("Could not create 'xen' debugfs directory\n");
19 return d_xen_debug;