summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pltfm.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2023-08-11 16:03:51 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-08-15 13:36:02 +0200
commit899171dc4e7ce9ac90b27610d79ea511402e60c0 (patch)
tree986e50c406ada9d7f9132360525ec8b4665f2dd9 /drivers/mmc/host/sdhci-pltfm.h
parentf0255cdca3972f01ac0bb9cfee83ed9548d19dd2 (diff)
downloadlinux-stable-899171dc4e7ce9ac90b27610d79ea511402e60c0.tar.gz
linux-stable-899171dc4e7ce9ac90b27610d79ea511402e60c0.tar.bz2
linux-stable-899171dc4e7ce9ac90b27610d79ea511402e60c0.zip
mmc: sdhci-pltfm: Rename sdhci_pltfm_register()
Now that sdhci_pltfm_unregister() has been removed, rename sdhci_pltfm_register() to sdhci_pltfm_init_and_add_host() to better reflect what it does. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230811130351.7038-17-adrian.hunter@intel.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pltfm.h')
-rw-r--r--drivers/mmc/host/sdhci-pltfm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-pltfm.h b/drivers/mmc/host/sdhci-pltfm.h
index bebc450d5098..b81d5b0fd616 100644
--- a/drivers/mmc/host/sdhci-pltfm.h
+++ b/drivers/mmc/host/sdhci-pltfm.h
@@ -99,9 +99,9 @@ extern struct sdhci_host *sdhci_pltfm_init(struct platform_device *pdev,
size_t priv_size);
extern void sdhci_pltfm_free(struct platform_device *pdev);
-extern int sdhci_pltfm_register(struct platform_device *pdev,
- const struct sdhci_pltfm_data *pdata,
- size_t priv_size);
+extern int sdhci_pltfm_init_and_add_host(struct platform_device *pdev,
+ const struct sdhci_pltfm_data *pdata,
+ size_t priv_size);
extern void sdhci_pltfm_remove(struct platform_device *pdev);
extern unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host *host);