Skip to content

Commit

Permalink
crypto: picoxcell - 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 3dc1597 commit c3abc0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/crypto/picoxcell_crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -1591,6 +1591,7 @@ static const struct of_device_id spacc_of_id_table[] = {
{ .compatible = "picochip,spacc-l2" },
{}
};
MODULE_DEVICE_TABLE(of, spacc_of_id_table);
#endif /* CONFIG_OF */

static bool spacc_is_compatible(struct platform_device *pdev,
Expand Down

0 comments on commit c3abc0f

Please sign in to comment.