summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/sd.h
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-01-18 11:45:20 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2021-02-01 13:54:48 +0300
commitbd7342fea7f88863605fabce103ff0dc5d488276 (patch)
tree58f448173f8d0ffc81f1a2f1cf1af636859fe969 /drivers/mmc/core/sd.h
parent37af07d91d0a28f75e45d52ac8959e6bd587a4aa (diff)
downloadlinux-bd7342fea7f88863605fabce103ff0dc5d488276.tar.xz
mmc: core: remove unused host parameter of mmc_sd_get_csd()
The host parameter is not used in the body of mmc_sd_get_csd(), so let's remove it. Update related code at the same time. Signed-off-by: Yue Hu <huyue2@yulong.com> Link: https://lore.kernel.org/r/20210118084520.241-1-zbestahu@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sd.h')
-rw-r--r--drivers/mmc/core/sd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sd.h b/drivers/mmc/core/sd.h
index 497c026a5c5a..1af5a038bae9 100644
--- a/drivers/mmc/core/sd.h
+++ b/drivers/mmc/core/sd.h
@@ -10,7 +10,7 @@ struct mmc_host;
struct mmc_card;
int mmc_sd_get_cid(struct mmc_host *host, u32 ocr, u32 *cid, u32 *rocr);
-int mmc_sd_get_csd(struct mmc_host *host, struct mmc_card *card);
+int mmc_sd_get_csd(struct mmc_card *card);
void mmc_decode_cid(struct mmc_card *card);
int mmc_sd_setup_card(struct mmc_host *host, struct mmc_card *card,
bool reinit);