mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00:00
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: b51dbe9091
("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>
This commit is contained in:
parent
2a2a251f11
commit
929562b144
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user