summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBaoyou Xie <baoyou.xie@linaro.org>2016-09-30 09:37:38 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2016-10-10 13:35:15 +0200
commit48ab086d262e705c4d042228479aaf0b2daffcf9 (patch)
tree04a499f923d3ae86a68a8325c03994a4f593394e /drivers/mmc
parent13d62fd26924b30593ffd970be17c7344149b188 (diff)
downloadlinux-stable-48ab086d262e705c4d042228479aaf0b2daffcf9.tar.gz
linux-stable-48ab086d262e705c4d042228479aaf0b2daffcf9.tar.bz2
linux-stable-48ab086d262e705c4d042228479aaf0b2daffcf9.zip
mmc: block: add missing header dependencies
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/card/block.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index c3335112e68c..0f2cc9f22357 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -46,6 +46,7 @@
#include <asm/uaccess.h>
#include "queue.h"
+#include "block.h"
MODULE_ALIAS("mmc:block");
#ifdef MODULE_PARAM_PREFIX