diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2017-01-13 14:14:06 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:20:19 +0100 |
commit | 8da007348bf52a91e5137d27d7dcd528edbb80ce (patch) | |
tree | 89202d38793e7b3941173f1d5f6184138dfb59cb /include/linux/mmc/slot-gpio.h | |
parent | e1c6ec26b853e9062f0b3daaf695c546d0702953 (diff) |
mmc: core: First step in cleaning up public mmc header files
This is the first step in cleaning up the public 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 'include/linux/mmc/slot-gpio.h')
-rw-r--r-- | include/linux/mmc/slot-gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mmc/slot-gpio.h b/include/linux/mmc/slot-gpio.h index a7972cd3bc14..82f0d289f110 100644 --- a/include/linux/mmc/slot-gpio.h +++ b/include/linux/mmc/slot-gpio.h @@ -11,6 +11,9 @@ #ifndef MMC_SLOT_GPIO_H #define MMC_SLOT_GPIO_H +#include <linux/types.h> +#include <linux/irqreturn.h> + struct mmc_host; int mmc_gpio_get_ro(struct mmc_host *host); |