From: Christoph Hellwig Date: Tue, 24 Mar 2020 07:25:10 +0000 (+0100) Subject: block: remove the blk_lookup_devt export X-Git-Tag: v5.7-rc1~203^2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2332c5c040bc49c6e23426106c468cfa500d873;p=thirdparty%2Fkernel%2Flinux.git block: remove the blk_lookup_devt export This function is only used by init/do_mounts.c, which can't be modular. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/block/genhd.c b/block/genhd.c index 6a60131baffa6..c5d20a48b4de3 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -1487,7 +1487,6 @@ dev_t blk_lookup_devt(const char *name, int partno) class_dev_iter_exit(&iter); return devt; } -EXPORT_SYMBOL(blk_lookup_devt); struct gendisk *__alloc_disk_node(int minors, int node_id) {