summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-25 16:48:35 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-25 16:50:08 +0100
commit31eb6186797c149665fd44f3847bdf8d539efa59 (patch)
tree5fb15e8af40dba378a451f3a81c3bcdb3c69ad57 /block/genhd.c
parentblock: factor out requeue handling from dispatch code (diff)
downloadlinux-31eb6186797c149665fd44f3847bdf8d539efa59.tar.xz
linux-31eb6186797c149665fd44f3847bdf8d539efa59.zip
block: mark block_depr static
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 792356e922a1..7dafd7504493 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -27,7 +27,7 @@
#include "blk.h"
static DEFINE_MUTEX(block_class_lock);
-struct kobject *block_depr;
+static struct kobject *block_depr;
/* for extended dynamic devt allocation, currently only one major is used */
#define NR_EXT_DEVT (1 << MINORBITS)