浏览代码

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: b51dbe90912a ("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>
Wei Yongjun 8 年之前
父节点
当前提交
929562b144
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/crypto/stm32/stm32_crc32.c

+ 1 - 1
drivers/crypto/stm32/stm32_crc32.c

@@ -306,7 +306,7 @@ static const struct of_device_id stm32_dt_ids[] = {
 	{ .compatible = "st,stm32f7-crc", },
 	{ .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 = {
 static struct platform_driver stm32_crc_driver = {
 	.probe  = stm32_crc_probe,
 	.probe  = stm32_crc_probe,