Skip to contentSkip to conversation

crypto: stm32 - Fix OF module alias information

PATCH New Wei Yongjun 2 participants 2 messages Apr 25, 2017 – Apr 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: stm32 - Fix OF module alias information

From: Wei Yongjun <[email protected]>

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")
---
 drivers/crypto/stm32/stm32_crc32.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/stm32/stm32_crc32.c +1 -1
index 7652822..ec83b1e 100644
@@ -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,
maintainer
#1 lore raw

PATCH 1/1 crypto: stm32 - Fix OF module alias information

Quoted 7 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

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")

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt