diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-04-25 17:35:42 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-29 20:45:21 +0300 |
commit | 929562b144783b9212625305eadcbbd800809643 (patch) | |
tree | 0c73e83291c9e35b849396fc4a397db0f1ab09b6 /drivers/crypto/stm32 | |
parent | 2a2a251f110576b1d89efbd0662677d7e7db21a8 (diff) | |
download | linux-929562b144783b9212625305eadcbbd800809643.tar.xz |
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>
Diffstat (limited to 'drivers/crypto/stm32')
-rw-r--r-- | drivers/crypto/stm32/stm32_crc32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/stm32/stm32_crc32.c b/drivers/crypto/stm32/stm32_crc32.c index 765282262d44..ec83b1e6bfe8 100644 --- a/drivers/crypto/stm32/stm32_crc32.c +++ b/drivers/crypto/stm32/stm32_crc32.c @@ -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, |