spi: sh-hspi: Fix modalias for sh-hspi
authorAxel Lin <axel.lin@ingics.com>
Wed, 8 Jan 2014 10:52:40 +0000 (18:52 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 12:14:22 +0000 (12:14 +0000)
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>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sh-hspi.c

index 292567a..40179d2 100644 (file)
@@ -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");