summaryrefslogtreecommitdiffstats
path: root/arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2018-02-12 01:21:20 +0000
committerPeter Robinson <pbrobinson@gmail.com>2018-02-12 01:21:20 +0000
commitdd10af6de0e6c31646b83945c7261ae22fe43426 (patch)
treea6bbe1edc704aa06fabdb61d234dfc85e398ab29 /arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch
parent682fa4513e2fb2750ededd523ec79c256ff0d0aa (diff)
downloadkernel-dd10af6de0e6c31646b83945c7261ae22fe43426.tar.gz
kernel-dd10af6de0e6c31646b83945c7261ae22fe43426.tar.xz
kernel-dd10af6de0e6c31646b83945c7261ae22fe43426.zip
Some fixes to help RPi HDMI monitor detection, fixes for AllWinner
Diffstat (limited to 'arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch')
-rw-r--r--arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch b/arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch
new file mode 100644
index 000000000..45941edd0
--- /dev/null
+++ b/arm-crypto-sunxi-ss-Add-MODULE_ALIAS-to-sun4i-ss.patch
@@ -0,0 +1,28 @@
+From 7a2e67bfa5316e267e782477ec880e2464fd682a Mon Sep 17 00:00:00 2001
+From: Peter Robinson <pbrobinson@gmail.com>
+Date: Sun, 11 Feb 2018 21:28:41 +0000
+Subject: [PATCH] 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.
+
+Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
+---
+ drivers/crypto/sunxi-ss/sun4i-ss-core.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+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>");
+--
+2.14.3
+