From 1f15efbf9364510f31e10a3fde7e667793569f9e Mon Sep 17 00:00:00 2001 From: Ram Muthiah Date: Wed, 29 Jan 2020 16:43:06 -0800 Subject: [PATCH] ANDROID: modularize BLK_MQ_VIRTIO Bug: 139431025 Test: Treehugger Change-Id: Iba414b03a9ee1544036c4153bf52e8c8edbb9c17 Signed-off-by: Ram Muthiah (cherry picked from commit f1bdff93debe56dbafc0684fcfbfcaddd599be7b) --- block/Kconfig | 2 +- block/blk-mq-virtio.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/block/Kconfig b/block/Kconfig index e9ce5e9bc9c6..0b651f313e60 100644 --- a/block/Kconfig +++ b/block/Kconfig @@ -213,7 +213,7 @@ config BLK_MQ_PCI default y config BLK_MQ_VIRTIO - bool + tristate depends on BLOCK && VIRTIO default y diff --git a/block/blk-mq-virtio.c b/block/blk-mq-virtio.c index 488341628256..d2808e1cb515 100644 --- a/block/blk-mq-virtio.c +++ b/block/blk-mq-virtio.c @@ -44,3 +44,6 @@ fallback: return blk_mq_map_queues(qmap); } EXPORT_SYMBOL_GPL(blk_mq_virtio_map_queues); + +MODULE_DESCRIPTION("Virtio Device Default Queue Mapping"); +MODULE_LICENSE("GPL v2");