Commit c3abc0f3 authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Herbert Xu

crypto: picoxcell - 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: default avatarLuis de Bethencourt <luis@debethencourt.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3dc1597b
...@@ -1591,6 +1591,7 @@ static const struct of_device_id spacc_of_id_table[] = { ...@@ -1591,6 +1591,7 @@ static const struct of_device_id spacc_of_id_table[] = {
{ .compatible = "picochip,spacc-l2" }, { .compatible = "picochip,spacc-l2" },
{} {}
}; };
MODULE_DEVICE_TABLE(of, spacc_of_id_table);
#endif /* CONFIG_OF */ #endif /* CONFIG_OF */
static bool spacc_is_compatible(struct platform_device *pdev, static bool spacc_is_compatible(struct platform_device *pdev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment