Message ID | 1389178360.27961.1.camel@phoenix (mailing list archive) |
---|---|
State | Accepted |
Commit | caedb997a400ab50da201dd415c3ef7cce016437 |
Headers | show |
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 --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");
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(-)