From: Axel Lin Date: Wed, 8 Jan 2014 10:52:40 +0000 (+0800) Subject: spi: sh-hspi: Fix modalias for sh-hspi X-Git-Tag: v3.14-rc1~91^2~5^4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caedb997a400ab50da201dd415c3ef7cce016437;p=platform%2Fkernel%2Flinux-stable.git spi: sh-hspi: Fix modalias for sh-hspi 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 Signed-off-by: Mark Brown --- 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 "); -MODULE_ALIAS("platform:sh_spi"); +MODULE_ALIAS("platform:sh-hspi");