diff options
| author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-11-17 02:40:38 -0500 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-11-29 03:05:09 -0500 |
| commit | a4cc7eb4416fda59f18e744925ba3a347f7ecac5 (patch) | |
| tree | 5f35b8d91c46c3e4ede09de5839a7c6c37b0d4f0 /include/linux/mmc | |
| parent | e13c3c081845b51e8ba71a90e91c52679cfdbf89 (diff) | |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmc/dw_mmc.h b/include/linux/mmc/dw_mmc.h index f5af2bd35e7f..15db6f83f53f 100644 --- a/include/linux/mmc/dw_mmc.h +++ b/include/linux/mmc/dw_mmc.h | |||
| @@ -39,6 +39,12 @@ enum { | |||
| 39 | EVENT_DATA_ERROR, | 39 | EVENT_DATA_ERROR, |
| 40 | }; | 40 | }; |
| 41 | 41 | ||
| 42 | enum dw_mci_cookie { | ||
| 43 | COOKIE_UNMAPPED, | ||
| 44 | COOKIE_PRE_MAPPED, /* mapped by pre_req() of dwmmc */ | ||
| 45 | COOKIE_MAPPED, /* mapped by prepare_data() of dwmmc */ | ||
| 46 | }; | ||
| 47 | |||
| 42 | struct mmc_data; | 48 | struct mmc_data; |
| 43 | 49 | ||
| 44 | enum { | 50 | enum { |
