diff mbox

spi: sh-hspi: Fix modalias for sh-hspi

Message ID 1389178360.27961.1.camel@phoenix (mailing list archive)
State Accepted
Commit caedb997a400ab50da201dd415c3ef7cce016437
Headers show

Commit Message

Axel Lin Jan. 8, 2014, 10:52 a.m. UTC
Make the modalias matches the driver name.
Seems the MODULE_ALIAS is copied from drivers/spi/spi-sh-spi.c.
So both spi-sh.ko and spi-sh-hspi.ko have the same alias. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/spi/spi-sh-hspi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown Jan. 8, 2014, 12:14 p.m. UTC | #1
On Wed, Jan 08, 2014 at 06:52:40PM +0800, Axel Lin wrote:
> Make the modalias matches the driver name.
> Seems the MODULE_ALIAS is copied from drivers/spi/spi-sh-spi.c.
> So both spi-sh.ko and spi-sh-hspi.ko have the same alias. Fix it.

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c
index 292567a..40179d2 100644
--- a/drivers/spi/spi-sh-hspi.c
+++ b/drivers/spi/spi-sh-hspi.c
@@ -353,4 +353,4 @@  module_platform_driver(hspi_driver);
 MODULE_DESCRIPTION("SuperH HSPI bus driver");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>");
-MODULE_ALIAS("platform:sh_spi");
+MODULE_ALIAS("platform:sh-hspi");