Skip to content

Commit

Permalink
crypto: stm32 - Fix OF module alias information
Browse files Browse the repository at this point in the history
The module alias information passed to MODULE_DEVICE_TABLE()
should use stm32_dt_ids instead of undefined sti_dt_ids.

Fixes: b51dbe9 ("crypto: stm32 - Support for STM32 CRC32 crypto module")
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Wei Yongjun authored and herbertx committed Apr 29, 2017
1 parent 2a2a251 commit 929562b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/stm32/stm32_crc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ static const struct of_device_id stm32_dt_ids[] = {
{ .compatible = "st,stm32f7-crc", },
{},
};
MODULE_DEVICE_TABLE(of, sti_dt_ids);
MODULE_DEVICE_TABLE(of, stm32_dt_ids);

static struct platform_driver stm32_crc_driver = {
.probe = stm32_crc_probe,
Expand Down

0 comments on commit 929562b

Please sign in to comment.