diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-08-14 19:03:59 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-08-19 18:39:39 +0800 |
commit | 47d35bf22b6913aa9fa2389431377d4189102a15 (patch) | |
tree | bcaf7316b132d3979f416af13f2b581c081b9e2d /drivers/char | |
parent | 90cb3ca2fa4f5c4c3fbeb9014584b69b1ba26242 (diff) | |
download | linux-47d35bf22b6913aa9fa2389431377d4189102a15.tar.gz linux-47d35bf22b6913aa9fa2389431377d4189102a15.tar.bz2 linux-47d35bf22b6913aa9fa2389431377d4189102a15.zip |
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/imx-rngc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/imx-rngc.c b/drivers/char/hw_random/imx-rngc.c index b05d676ca814..78c10fa4c79e 100644 --- a/drivers/char/hw_random/imx-rngc.c +++ b/drivers/char/hw_random/imx-rngc.c @@ -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, }, |