Skip to content

Commit

Permalink
crypto: amcc - Fix module autoload for OF platform driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis de Bethencourt authored and Herbert Xu committed Sep 21, 2015
1 parent f074f7b commit 3dc1597
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/amcc/crypto4xx_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3dc1597

Please sign in to comment.