diff options
author | Ulf Hansson | 2017-01-13 14:14:10 +0100 |
---|---|---|
committer | Ulf Hansson | 2017-02-13 13:20:22 +0100 |
commit | c0a3e080f9294117a7d510a4f01a0b7c6dbcadae (patch) | |
tree | 6257d0cdd193dea1f7b89c79ed5df2a054767fbf /include/linux/mmc/core.h | |
parent | mmc: core: Move some host specific public functions to host.h (diff) | |
download | kernel-qcow2-linux-c0a3e080f9294117a7d510a4f01a0b7c6dbcadae.tar.gz kernel-qcow2-linux-c0a3e080f9294117a7d510a4f01a0b7c6dbcadae.tar.xz kernel-qcow2-linux-c0a3e080f9294117a7d510a4f01a0b7c6dbcadae.zip |
mmc: core: Move erase/trim/discard defines from public core.h to mmc.h
As the public mmc.h header already contains similar defines for other mmc
commands and arguments, let's move those for erase/trim/discard into here
as well.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'include/linux/mmc/core.h')
-rw-r--r-- | include/linux/mmc/core.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/mmc/core.h b/include/linux/mmc/core.h index faacc90f8711..6440e10c86cd 100644 --- a/include/linux/mmc/core.h +++ b/include/linux/mmc/core.h @@ -164,16 +164,6 @@ extern struct mmc_async_req *mmc_start_req(struct mmc_host *, extern void mmc_wait_for_req(struct mmc_host *, struct mmc_request *); extern int mmc_wait_for_cmd(struct mmc_host *, struct mmc_command *, int); -#define MMC_ERASE_ARG 0x00000000 -#define MMC_SECURE_ERASE_ARG 0x80000000 -#define MMC_TRIM_ARG 0x00000001 -#define MMC_DISCARD_ARG 0x00000003 -#define MMC_SECURE_TRIM1_ARG 0x80000001 -#define MMC_SECURE_TRIM2_ARG 0x80008000 - -#define MMC_SECURE_ARGS 0x80000000 -#define MMC_TRIM_ARGS 0x00008001 - extern int mmc_hw_reset(struct mmc_host *host); extern void mmc_set_data_timeout(struct mmc_data *, const struct mmc_card *); |