diff mbox

[4/4] mmc: sdhci-st: Fix modalias to make module auto-loading work

Message ID 1431593987-455-5-git-send-email-zhangfei.gao@linaro.org
State New
Headers show

Commit Message

Zhangfei Gao May 14, 2015, 8:59 a.m. UTC
Make the modalias match driver name, this is required to make module
auto-loading work.

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
CC: Peter Griffin <peter.griffin@linaro.org>
---
 drivers/mmc/host/sdhci-st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ulf Hansson May 18, 2015, 9:17 a.m. UTC | #1
On 14 May 2015 at 10:59, Zhangfei Gao <zhangfei.gao@linaro.org> wrote:
> Make the modalias match driver name, this is required to make module
> auto-loading work.
>
> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
> CC: Peter Griffin <peter.griffin@linaro.org>

Thanks, applied.

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci-st.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c
> index 682f2bb..969c2b0 100644
> --- a/drivers/mmc/host/sdhci-st.c
> +++ b/drivers/mmc/host/sdhci-st.c
> @@ -509,4 +509,4 @@ module_platform_driver(sdhci_st_driver);
>  MODULE_DESCRIPTION("SDHCI driver for STMicroelectronics SoCs");
>  MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>");
>  MODULE_LICENSE("GPL v2");
> -MODULE_ALIAS("platform:st-sdhci");
> +MODULE_ALIAS("platform:sdhci-st");
> --
> 1.9.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-st.c b/drivers/mmc/host/sdhci-st.c
index 682f2bb..969c2b0 100644
--- a/drivers/mmc/host/sdhci-st.c
+++ b/drivers/mmc/host/sdhci-st.c
@@ -509,4 +509,4 @@  module_platform_driver(sdhci_st_driver);
 MODULE_DESCRIPTION("SDHCI driver for STMicroelectronics SoCs");
 MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:st-sdhci");
+MODULE_ALIAS("platform:sdhci-st");