summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/amcc
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-28 18:43:24 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-09-21 22:00:36 +0800
commit3dc1597b6b0a8d17fc56d93b5e9cf859fe681727 (patch)
tree03bae9547235dc62203699629158b9ea34fba00d /drivers/crypto/amcc
parentf074f7b103a915edb1edf833f96a902adeb374cf (diff)
downloadop-kernel-dev-3dc1597b6b0a8d17fc56d93b5e9cf859fe681727.zip
op-kernel-dev-3dc1597b6b0a8d17fc56d93b5e9cf859fe681727.tar.gz
crypto: amcc - Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc')
-rw-r--r--drivers/crypto/amcc/crypto4xx_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c
index 192a8fa..7e9e461 100644
--- a/drivers/crypto/amcc/crypto4xx_core.c
+++ b/drivers/crypto/amcc/crypto4xx_core.c
@@ -1284,6 +1284,7 @@ static const struct of_device_id crypto4xx_match[] = {
{ .compatible = "amcc,ppc4xx-crypto",},
{ },
};
+MODULE_DEVICE_TABLE(of, crypto4xx_match);
static struct platform_driver crypto4xx_driver = {
.driver = {
OpenPOWER on IntegriCloud