spi: sh-hspi: Fix modalias for sh-hspi
PATCH 1/1 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 <[email protected]>
--- drivers/spi/spi-sh-hspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-sh-hspi.c +1 -1
@@ -353,4 +353,4 @@ module_platform_driver(hspi_driver);MODULE_DESCRIPTION ("SuperH HSPI bus driver" );MODULE_LICENSE ("GPL" );MODULE_AUTHOR ("Kuninori Morimoto <[email protected]>" ); -MODULE_ALIAS ("platform:sh_spi" ); +MODULE_ALIAS ("platform:sh-hspi" );
Signature · 8 lines
1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Mark Brown
AppliedQuoted 3 lines · Axel Lin
Make the modalias matches the driver name.
Seems theMODULE_ALIASis copied fromdrivers/spi/spi-sh-spi.c. So both spi-sh.ko and spi-sh-hspi.ko have the same alias. Fix it.
Applied, thanks.