diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-13 14:14:07 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:20:20 +0100 |
commit | 066185d690631478b16045d152b163a51a5e4847 (patch) | |
tree | 2d72d5f38ef8400a46f421dd3fcbd8fdbd454c98 /drivers/mmc/core/sdio_ops.h | |
parent | 8da007348bf52a91e5137d27d7dcd528edbb80ce (diff) | |
download | linux-066185d690631478b16045d152b163a51a5e4847.tar.gz linux-066185d690631478b16045d152b163a51a5e4847.tar.bz2 linux-066185d690631478b16045d152b163a51a5e4847.zip |
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/sdio_ops.h')
-rw-r--r-- | drivers/mmc/core/sdio_ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio_ops.h b/drivers/mmc/core/sdio_ops.h index 5660c7f459e9..e1c36d64572c 100644 --- a/drivers/mmc/core/sdio_ops.h +++ b/drivers/mmc/core/sdio_ops.h @@ -12,8 +12,12 @@ #ifndef _MMC_SDIO_OPS_H #define _MMC_SDIO_OPS_H +#include <linux/types.h> #include <linux/mmc/sdio.h> +struct mmc_host; +struct mmc_card; + int mmc_send_io_op_cond(struct mmc_host *host, u32 ocr, u32 *rocr); int mmc_io_rw_direct(struct mmc_card *card, int write, unsigned fn, unsigned addr, u8 in, u8* out); |