|
|
@@ -84,7 +84,7 @@ extern void blk_mq_hctx_kobj_init(struct blk_mq_hw_ctx *hctx);
|
|
|
/*
|
|
|
* debugfs helpers
|
|
|
*/
|
|
|
-#ifdef CONFIG_DEBUG_FS
|
|
|
+#ifdef CONFIG_BLK_DEBUG_FS
|
|
|
void blk_mq_debugfs_init(void);
|
|
|
int blk_mq_debugfs_register(struct request_queue *q, const char *name);
|
|
|
void blk_mq_debugfs_unregister(struct request_queue *q);
|
|
|
@@ -95,21 +95,22 @@ static inline void blk_mq_debugfs_init(void)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-int blk_mq_debugfs_register(struct request_queue *q, const char *name);
|
|
|
+static inline int blk_mq_debugfs_register(struct request_queue *q,
|
|
|
+ const char *name)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-void blk_mq_debugfs_unregister(struct request_queue *q)
|
|
|
+static inline void blk_mq_debugfs_unregister(struct request_queue *q)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-int blk_mq_debugfs_register_hctxs(struct request_queue *q)
|
|
|
+static inline int blk_mq_debugfs_register_hctxs(struct request_queue *q)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-void blk_mq_debugfs_unregister_hctxs(struct request_queue *q)
|
|
|
+static inline void blk_mq_debugfs_unregister_hctxs(struct request_queue *q)
|
|
|
{
|
|
|
}
|
|
|
#endif
|