hwrng: imx-rngc - use KBUILD_MODNAME as driver name
Use KBUILD_MODNAME instead of hard coding the driver name. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Родитель
90cb3ca2fa
Коммит
47d35bf22b
|
@ -355,7 +355,7 @@ MODULE_DEVICE_TABLE(of, imx_rngc_dt_ids);
|
|||
|
||||
static struct platform_driver imx_rngc_driver = {
|
||||
.driver = {
|
||||
.name = "imx_rngc",
|
||||
.name = KBUILD_MODNAME,
|
||||
.pm = &imx_rngc_pm_ops,
|
||||
.of_match_table = imx_rngc_dt_ids,
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче