spi: mt65xx: Fix module alias

This change “spi: mt65xx: Fix module alias” in Linux kernel is authored by Axel Lin <axel.lin [at] ingics.com> on Tue Aug 11 09:15:30 2015 +0800.

spi: mt65xx: Fix module alias

Remove extra space and make the alias matches driver name.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit e400188.

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 drivers/spi/spi-mt65xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c
index e62d304..08da77e 100644
--- a/drivers/spi/spi-mt65xx.c
+++ b/drivers/spi/spi-mt65xx.c
@@ -746,4 +746,4 @@ static int mtk_spi_runtime_resume(struct device *dev)
 MODULE_DESCRIPTION("MTK SPI Controller driver");
 MODULE_AUTHOR("Leilk Liu <leilk.liu@mediatek.com>");
 MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform: mtk_spi");
+MODULE_ALIAS("platform:mtk-spi");

The commit for this change in Linux stable tree is e400188 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *