diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-28 18:43:24 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-09-21 16:00:36 +0200 |
commit | 3dc1597b6b0a8d17fc56d93b5e9cf859fe681727 (patch) | |
tree | 03bae9547235dc62203699629158b9ea34fba00d /drivers/crypto/amcc | |
parent | crypto: tcrypt - avoid mapping from module image addresses (diff) | |
download | linux-3dc1597b6b0a8d17fc56d93b5e9cf859fe681727.tar.xz linux-3dc1597b6b0a8d17fc56d93b5e9cf859fe681727.zip |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c index 192a8fa325c1..7e9e461a9cbc 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 = { |