summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/block.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-01-13 14:14:07 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:20:20 +0100
commit066185d690631478b16045d152b163a51a5e4847 (patch)
tree2d72d5f38ef8400a46f421dd3fcbd8fdbd454c98 /drivers/mmc/core/block.h
parent8da007348bf52a91e5137d27d7dcd528edbb80ce (diff)
downloadlinux-066185d690631478b16045d152b163a51a5e4847.tar.bz2
mmc: core: First step in cleaning up private mmc header files
This is the first step in cleaning up the private mmc header files. In this change we makes sure each header file builds standalone, as that helps to resolve dependencies. While changing this, it also seems reasonable to stop including other headers from inside a header itself which it don't depend upon. Additionally, in some cases such dependencies are better resolved by forward declaring the needed struct. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'drivers/mmc/core/block.h')
-rw-r--r--drivers/mmc/core/block.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/core/block.h b/drivers/mmc/core/block.h
index cdabb2ee74be..00b7483f2d6e 100644
--- a/drivers/mmc/core/block.h
+++ b/drivers/mmc/core/block.h
@@ -1 +1,9 @@
+#ifndef _MMC_CORE_BLOCK_H
+#define _MMC_CORE_BLOCK_H
+
+struct mmc_queue;
+struct request;
+
int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req);
+
+#endif