summaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-11-17 16:40:38 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2016-11-29 09:05:09 +0100
commita4cc7eb4416fda59f18e744925ba3a347f7ecac5 (patch)
tree5f35b8d91c46c3e4ede09de5839a7c6c37b0d4f0 /include/linux/mmc
parente13c3c081845b51e8ba71a90e91c52679cfdbf89 (diff)
downloadop-kernel-dev-a4cc7eb4416fda59f18e744925ba3a347f7ecac5.zip
op-kernel-dev-a4cc7eb4416fda59f18e744925ba3a347f7ecac5.tar.gz
mmc: dw_mmc: use the cookie's enum values for post/pre_req()
This patch removed the meaningless value. Instead, use the cookie's enum values for executing correctly. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/dw_mmc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h
index f5af2bd..15db6f8 100644
--- a/include/linux/mmc/dw_mmc.h
+++ b/include/linux/mmc/dw_mmc.h
@@ -39,6 +39,12 @@ enum {
EVENT_DATA_ERROR,
};
+enum dw_mci_cookie {
+ COOKIE_UNMAPPED,
+ COOKIE_PRE_MAPPED, /* mapped by pre_req() of dwmmc */
+ COOKIE_MAPPED, /* mapped by prepare_data() of dwmmc */
+};
+
struct mmc_data;
enum {
OpenPOWER on IntegriCloud