diff options
Diffstat (limited to 'block/blk-mq-sysfs.c')
-rw-r--r-- | block/blk-mq-sysfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-mq-sysfs.c b/block/blk-mq-sysfs.c index e5f575ff0bf9..ed5217867555 100644 --- a/block/blk-mq-sysfs.c +++ b/block/blk-mq-sysfs.c | |||
@@ -327,7 +327,7 @@ static struct kobj_type blk_mq_hw_ktype = { | |||
327 | .release = blk_mq_sysfs_release, | 327 | .release = blk_mq_sysfs_release, |
328 | }; | 328 | }; |
329 | 329 | ||
330 | void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) | 330 | static void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) |
331 | { | 331 | { |
332 | struct blk_mq_ctx *ctx; | 332 | struct blk_mq_ctx *ctx; |
333 | int i; | 333 | int i; |
@@ -341,7 +341,7 @@ void blk_mq_unregister_hctx(struct blk_mq_hw_ctx *hctx) | |||
341 | kobject_del(&hctx->kobj); | 341 | kobject_del(&hctx->kobj); |
342 | } | 342 | } |
343 | 343 | ||
344 | int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx) | 344 | static int blk_mq_register_hctx(struct blk_mq_hw_ctx *hctx) |
345 | { | 345 | { |
346 | struct request_queue *q = hctx->queue; | 346 | struct request_queue *q = hctx->queue; |
347 | struct blk_mq_ctx *ctx; | 347 | struct blk_mq_ctx *ctx; |