summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2018-02-11 23:15:37 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-22 22:16:15 +0800
commit7c73cf4cc2ac16465f5102437dc0a12d66671bd6 (patch)
treee2d9b5bc81db6434136c5b7f94fa88a8f3d72fd5 /drivers
parenta43a34845a156c9e1dae00e33595a508d53e0365 (diff)
downloadlinux-stable-7c73cf4cc2ac16465f5102437dc0a12d66671bd6.tar.gz
linux-stable-7c73cf4cc2ac16465f5102437dc0a12d66671bd6.tar.bz2
linux-stable-7c73cf4cc2ac16465f5102437dc0a12d66671bd6.zip
crypto: sunxi-ss - Add MODULE_ALIAS to sun4i-ss
The MODULE_ALIAS is required to enable the sun4i-ss driver to load automatically when built at a module. Tested on a Cubietruck. Fixes: 6298e948215f ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/sunxi-ss/sun4i-ss-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-core.c b/drivers/crypto/sunxi-ss/sun4i-ss-core.c
index 1547cbe13dc2..a81d89b3b7d8 100644
--- a/drivers/crypto/sunxi-ss/sun4i-ss-core.c
+++ b/drivers/crypto/sunxi-ss/sun4i-ss-core.c
@@ -451,6 +451,7 @@ static struct platform_driver sun4i_ss_driver = {
module_platform_driver(sun4i_ss_driver);
+MODULE_ALIAS("platform:sun4i-ss");
MODULE_DESCRIPTION("Allwinner Security System cryptographic accelerator");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Corentin LABBE <clabbe.montjoie@gmail.com>");