diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mmc/card.h | 2 | ||||
| -rw-r--r-- | include/linux/mmc/core.h | 3 | ||||
| -rw-r--r-- | include/linux/mmc/host.h | 9 | ||||
| -rw-r--r-- | include/linux/mmc/mmc.h | 2 | ||||
| -rw-r--r-- | include/linux/mmc/slot-gpio.h | 3 |
5 files changed, 8 insertions, 11 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 00449e51838a..ca64f5b67983 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | #define LINUX_MMC_CARD_H | 11 | #define LINUX_MMC_CARD_H |
| 12 | 12 | ||
| 13 | #include <linux/device.h> | 13 | #include <linux/device.h> |
| 14 | #include <linux/mmc/core.h> | ||
| 15 | #include <linux/mod_devicetable.h> | 14 | #include <linux/mod_devicetable.h> |
| 16 | 15 | ||
| 17 | struct mmc_cid { | 16 | struct mmc_cid { |
| @@ -206,7 +205,6 @@ struct sdio_cis { | |||
| 206 | }; | 205 | }; |
| 207 | 206 | ||
| 208 | struct mmc_host; | 207 | struct mmc_host; |
| 209 | struct mmc_ios; | ||
| 210 | struct sdio_func; | 208 | struct sdio_func; |
| 211 | struct sdio_func_tuple; | 209 | struct sdio_func_tuple; |
| 212 | 210 | ||
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index e33cc748dcfe..64e2ddf33f38 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h | |||
| @@ -8,10 +8,9 @@ | |||
| 8 | #ifndef LINUX_MMC_CORE_H | 8 | #ifndef LINUX_MMC_CORE_H |
| 9 | #define LINUX_MMC_CORE_H | 9 | #define LINUX_MMC_CORE_H |
| 10 | 10 | ||
| 11 | #include <linux/interrupt.h> | ||
| 12 | #include <linux/completion.h> | 11 | #include <linux/completion.h> |
| 12 | #include <linux/types.h> | ||
| 13 | 13 | ||
| 14 | struct request; | ||
| 15 | struct mmc_data; | 14 | struct mmc_data; |
| 16 | struct mmc_request; | 15 | struct mmc_request; |
| 17 | 16 | ||
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 8bc884121465..8d38c76b06d6 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
| @@ -10,16 +10,12 @@ | |||
| 10 | #ifndef LINUX_MMC_HOST_H | 10 | #ifndef LINUX_MMC_HOST_H |
| 11 | #define LINUX_MMC_HOST_H | 11 | #define LINUX_MMC_HOST_H |
| 12 | 12 | ||
| 13 | #include <linux/leds.h> | ||
| 14 | #include <linux/mutex.h> | ||
| 15 | #include <linux/timer.h> | ||
| 16 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
| 17 | #include <linux/device.h> | 14 | #include <linux/device.h> |
| 18 | #include <linux/fault-inject.h> | 15 | #include <linux/fault-inject.h> |
| 19 | 16 | ||
| 20 | #include <linux/mmc/core.h> | 17 | #include <linux/mmc/core.h> |
| 21 | #include <linux/mmc/card.h> | 18 | #include <linux/mmc/card.h> |
| 22 | #include <linux/mmc/mmc.h> | ||
| 23 | #include <linux/mmc/pm.h> | 19 | #include <linux/mmc/pm.h> |
| 24 | 20 | ||
| 25 | struct mmc_ios { | 21 | struct mmc_ios { |
| @@ -82,6 +78,8 @@ struct mmc_ios { | |||
| 82 | bool enhanced_strobe; /* hs400es selection */ | 78 | bool enhanced_strobe; /* hs400es selection */ |
| 83 | }; | 79 | }; |
| 84 | 80 | ||
| 81 | struct mmc_host; | ||
| 82 | |||
| 85 | struct mmc_host_ops { | 83 | struct mmc_host_ops { |
| 86 | /* | 84 | /* |
| 87 | * It is optional for the host to implement pre_req and post_req in | 85 | * It is optional for the host to implement pre_req and post_req in |
| @@ -162,9 +160,6 @@ struct mmc_host_ops { | |||
| 162 | unsigned int direction, int blk_size); | 160 | unsigned int direction, int blk_size); |
| 163 | }; | 161 | }; |
| 164 | 162 | ||
| 165 | struct mmc_card; | ||
| 166 | struct device; | ||
| 167 | |||
| 168 | struct mmc_async_req { | 163 | struct mmc_async_req { |
| 169 | /* active mmc request */ | 164 | /* active mmc request */ |
| 170 | struct mmc_request *mrq; | 165 | struct mmc_request *mrq; |
diff --git a/include/linux/mmc/mmc.h b/include/linux/mmc/mmc.h index a0740829ff00..261772e3effe 100644 --- a/include/linux/mmc/mmc.h +++ b/include/linux/mmc/mmc.h | |||
| @@ -24,6 +24,8 @@ | |||
| 24 | #ifndef LINUX_MMC_MMC_H | 24 | #ifndef LINUX_MMC_MMC_H |
| 25 | #define LINUX_MMC_MMC_H | 25 | #define LINUX_MMC_MMC_H |
| 26 | 26 | ||
| 27 | #include <linux/types.h> | ||
| 28 | |||
| 27 | /* Standard MMC commands (4.1) type argument response */ | 29 | /* Standard MMC commands (4.1) type argument response */ |
| 28 | /* class 1 */ | 30 | /* class 1 */ |
| 29 | #define MMC_GO_IDLE_STATE 0 /* bc */ | 31 | #define MMC_GO_IDLE_STATE 0 /* bc */ |
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 @@ | |||
| 11 | #ifndef MMC_SLOT_GPIO_H | 11 | #ifndef MMC_SLOT_GPIO_H |
| 12 | #define MMC_SLOT_GPIO_H | 12 | #define MMC_SLOT_GPIO_H |
| 13 | 13 | ||
| 14 | #include <linux/types.h> | ||
| 15 | #include <linux/irqreturn.h> | ||
| 16 | |||
| 14 | struct mmc_host; | 17 | struct mmc_host; |
| 15 | 18 | ||
| 16 | int mmc_gpio_get_ro(struct mmc_host *host); | 19 | int mmc_gpio_get_ro(struct mmc_host *host); |
