summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2018-04-05 13:24:43 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-05-08 09:33:29 +0200
commit3a3db6030b64ceb4b4e41a6811168c5d90a9f7f8 (patch)
treea3d02c5faf62e8820ab095cff3dbc2f9c01e101d /drivers/mmc/core/core.h
parentfb09f44e290b1775fbeadb4289dbcfc2f954b0d2 (diff)
downloadlinux-3a3db6030b64ceb4b4e41a6811168c5d90a9f7f8.tar.gz
linux-3a3db6030b64ceb4b4e41a6811168c5d90a9f7f8.tar.bz2
linux-3a3db6030b64ceb4b4e41a6811168c5d90a9f7f8.zip
mmc: core: Rename ->reset() bus ops to ->hw_reset()
The bus ops ->reset() executes a full HW reset of the card, as the calling function mmc_hw_reset() also indicates by its name. Let's convert to follow the similar names, for both the bus ops callback and for the corresponding bus ops functions, as to clarify the purpose of code. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Diffstat (limited to 'drivers/mmc/core/core.h')
-rw-r--r--drivers/mmc/core/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h
index d6303d69071b..367ed1127be2 100644
--- a/drivers/mmc/core/core.h
+++ b/drivers/mmc/core/core.h
@@ -32,7 +32,7 @@ struct mmc_bus_ops {
int (*power_restore)(struct mmc_host *);
int (*alive)(struct mmc_host *);
int (*shutdown)(struct mmc_host *);
- int (*reset)(struct mmc_host *);
+ int (*hw_reset)(struct mmc_host *);
};
void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops);