blob: 512601eed3cec2f957dec87cff1433b7c8b929eb [file] [log] [blame]
Nicolai Stange9fd4dce2016-03-22 14:11:13 +01001/*
2 * internal.h - declarations internal to debugfs
3 *
4 * Copyright (C) 2016 Nicolai Stange <nicstange@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License version
8 * 2 as published by the Free Software Foundation.
9 *
10 */
11
12#ifndef _DEBUGFS_INTERNAL_H_
13#define _DEBUGFS_INTERNAL_H_
14
15struct file_operations;
Nicolai Stange9fd4dce2016-03-22 14:11:13 +010016
17/* declared over in file.c */
18extern const struct file_operations debugfs_noop_file_operations;
19extern const struct file_operations debugfs_open_proxy_file_operations;
Nicolai Stange49d200d2016-03-22 14:11:14 +010020extern const struct file_operations debugfs_full_proxy_file_operations;
Nicolai Stange9fd4dce2016-03-22 14:11:13 +010021
Nicolai Stange7c8d4692017-10-31 00:15:47 +010022struct debugfs_fsdata {
23 const struct file_operations *real_fops;
24};
25
Nicolai Stange9fd4dce2016-03-22 14:11:13 +010026#endif /* _DEBUGFS_INTERNAL_H_ */