Skip to content

Commit 929562b

Browse files
Wei Yongjunherbertx
authored andcommitted
crypto: stm32 - Fix OF module alias information
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 <weiyongjun1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 2a2a251 commit 929562b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/crypto/stm32/stm32_crc32.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ static const struct of_device_id stm32_dt_ids[] = {
306306
{ .compatible = "st,stm32f7-crc", },
307307
{},
308308
};
309-
MODULE_DEVICE_TABLE(of, sti_dt_ids);
309+
MODULE_DEVICE_TABLE(of, stm32_dt_ids);
310310

311311
static struct platform_driver stm32_crc_driver = {
312312
.probe = stm32_crc_probe,

0 commit comments

Comments
 (0)