mmc: block: add missing header dependencies
authorBaoyou Xie <baoyou.xie@linaro.org>
Fri, 30 Sep 2016 01:37:38 +0000 (09:37 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Oct 2016 11:35:15 +0000 (13:35 +0200)
We get 1 warning when building kernel with W=1:
drivers/mmc/card/block.c:2147:5: warning: no previous prototype for
'mmc_blk_issue_rq' [-Wmissing-prototypes]

In fact, this function is declared in drivers/mmc/card/block.h, so this
patch adds missing header dependencies.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/card/block.c

index c3335112e68c29cfe4a16eae0aabf4368682d357..0f2cc9f22357958e0ccf98f089a7630d016244c4 100644 (file)
@@ -46,6 +46,7 @@
 #include <asm/uaccess.h>
 
 #include "queue.h"
+#include "block.h"
 
 MODULE_ALIAS("mmc:block");
 #ifdef MODULE_PARAM_PREFIX