linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] mmc: block: add missing header dependencies
@ 2016-09-30  1:37 Baoyou Xie
  2016-09-30  1:37 ` [PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static Baoyou Xie
  2016-10-10 12:37 ` [PATCH 1/2] mmc: block: add missing header dependencies Ulf Hansson
  0 siblings, 2 replies; 4+ messages in thread
From: Baoyou Xie @ 2016-09-30  1:37 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 drivers/mmc/card/block.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index c333511..0f2cc9f2 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-10 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-30  1:37 [PATCH 1/2] mmc: block: add missing header dependencies Baoyou Xie
2016-09-30  1:37 ` [PATCH 2/2] mmc: sdhci-of-arasan: mark sdhci_arasan_reset() static Baoyou Xie
2016-09-30  6:30   ` Sören Brinkmann
2016-10-10 12:37 ` [PATCH 1/2] mmc: block: add missing header dependencies Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).