Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  *   S/390 common I/O debugfs interface
0004  *
0005  *    Copyright IBM Corp. 2021
0006  *    Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
0007  */
0008 
0009 #include <linux/debugfs.h>
0010 #include "cio_debug.h"
0011 
0012 struct dentry *cio_debugfs_dir;
0013 
0014 /* Create the debugfs directory for CIO under the arch_debugfs_dir
0015  * i.e /sys/kernel/debug/s390/cio
0016  */
0017 static int __init cio_debugfs_init(void)
0018 {
0019     cio_debugfs_dir = debugfs_create_dir("cio", arch_debugfs_dir);
0020 
0021     return 0;
0022 }
0023 subsys_initcall(cio_debugfs_init);