1 | // SPDX-License-Identifier: GPL-2.0 |
---|---|
2 | /* |
3 | * S/390 common I/O debugfs interface |
4 | * |
5 | * Copyright IBM Corp. 2021 |
6 | * Author(s): Vineeth Vijayan <vneethv@linux.ibm.com> |
7 | */ |
8 | |
9 | #include <linux/debugfs.h> |
10 | #include "cio_debug.h" |
11 | |
12 | struct dentry *cio_debugfs_dir; |
13 | |
14 | /* Create the debugfs directory for CIO under the arch_debugfs_dir |
15 | * i.e /sys/kernel/debug/s390/cio |
16 | */ |
17 | static int __init cio_debugfs_init(void) |
18 | { |
19 | cio_debugfs_dir = debugfs_create_dir(name: "cio", parent: arch_debugfs_dir); |
20 | |
21 | return 0; |
22 | } |
23 | subsys_initcall(cio_debugfs_init); |
24 |