blob: 00b0f71d0ae9ce74a91cb648abf03fd54d5e0697 [file] [log] [blame]
Omar Sandovald173a252017-05-04 00:31:30 -07001#ifndef INT_BLK_MQ_DEBUGFS_H
2#define INT_BLK_MQ_DEBUGFS_H
3
4#ifdef CONFIG_BLK_DEBUG_FS
5int blk_mq_debugfs_register(struct request_queue *q);
6void blk_mq_debugfs_unregister(struct request_queue *q);
7int blk_mq_debugfs_register_mq(struct request_queue *q);
8void blk_mq_debugfs_unregister_mq(struct request_queue *q);
9#else
10static inline int blk_mq_debugfs_register(struct request_queue *q)
11{
12 return 0;
13}
14
15static inline void blk_mq_debugfs_unregister(struct request_queue *q)
16{
17}
18
19static inline int blk_mq_debugfs_register_mq(struct request_queue *q)
20{
21 return 0;
22}
23
24static inline void blk_mq_debugfs_unregister_mq(struct request_queue *q)
25{
26}
27#endif
28
29#endif