mmc: core: First step in cleaning up private mmc header files
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Jan 2017 13:14:07 +0000 (14:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:20 +0000 (13:20 +0100)
commit066185d690631478b16045d152b163a51a5e4847
tree2d72d5f38ef8400a46f421dd3fcbd8fdbd454c98
parent8da007348bf52a91e5137d27d7dcd528edbb80ce
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>
13 files changed:
drivers/mmc/core/block.h
drivers/mmc/core/bus.h
drivers/mmc/core/core.h
drivers/mmc/core/host.h
drivers/mmc/core/mmc_ops.h
drivers/mmc/core/pwrseq.h
drivers/mmc/core/queue.h
drivers/mmc/core/sd.h
drivers/mmc/core/sd_ops.h
drivers/mmc/core/sdio_bus.h
drivers/mmc/core/sdio_cis.h
drivers/mmc/core/sdio_ops.h
drivers/mmc/core/slot-gpio.h