aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/card.h2
-rw-r--r--include/linux/mmc/core.h3
-rw-r--r--include/linux/mmc/host.h9
-rw-r--r--include/linux/mmc/mmc.h2
-rw-r--r--include/linux/mmc/slot-gpio.h3
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
17struct mmc_cid { 16struct mmc_cid {
@@ -206,7 +205,6 @@ struct sdio_cis {
206}; 205};
207 206
208struct mmc_host; 207struct mmc_host;
209struct mmc_ios;
210struct sdio_func; 208struct sdio_func;
211struct sdio_func_tuple; 209struct 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
14struct request;
15struct mmc_data; 14struct mmc_data;
16struct mmc_request; 15struct 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
25struct mmc_ios { 21struct 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
81struct mmc_host;
82
85struct mmc_host_ops { 83struct 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
165struct mmc_card;
166struct device;
167
168struct mmc_async_req { 163struct 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
14struct mmc_host; 17struct mmc_host;
15 18
16int mmc_gpio_get_ro(struct mmc_host *host); 19int mmc_gpio_get_ro(struct mmc_host *host);