From: Bart Van Assche Date: Wed, 20 Mar 2019 20:15:01 +0000 (-0700) Subject: blk-iolatency: #include "blk.h" X-Git-Tag: v5.1-rc2~14^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=373e915cd8e84544609eced57a44fbc084f8d60f;p=uclinux-h8%2Flinux.git blk-iolatency: #include "blk.h" This patch avoids that the following warning is reported when building with W=1: block/blk-iolatency.c:734:5: warning: no previous prototype for 'blk_iolatency_init' [-Wmissing-prototypes] Cc: Josef Bacik Fixes: d70675121546 ("block: introduce blk-iolatency io controller") # v4.19 Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c index 2620baa1f699..507212d75ee2 100644 --- a/block/blk-iolatency.c +++ b/block/blk-iolatency.c @@ -75,6 +75,7 @@ #include #include "blk-rq-qos.h" #include "blk-stat.h" +#include "blk.h" #define DEFAULT_SCALE_COOKIE 1000000U