crypto: crypto4xx - kill MODULE_NAME
KBUILD_MODNAME provides the same value. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
57268aba38
commit
333b192856
@ -1432,7 +1432,7 @@ MODULE_DEVICE_TABLE(of, crypto4xx_match);
|
|||||||
|
|
||||||
static struct platform_driver crypto4xx_driver = {
|
static struct platform_driver crypto4xx_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = MODULE_NAME,
|
.name = KBUILD_MODNAME,
|
||||||
.of_match_table = crypto4xx_match,
|
.of_match_table = crypto4xx_match,
|
||||||
},
|
},
|
||||||
.probe = crypto4xx_probe,
|
.probe = crypto4xx_probe,
|
||||||
|
@ -28,8 +28,6 @@
|
|||||||
#include "crypto4xx_reg_def.h"
|
#include "crypto4xx_reg_def.h"
|
||||||
#include "crypto4xx_sa.h"
|
#include "crypto4xx_sa.h"
|
||||||
|
|
||||||
#define MODULE_NAME "crypto4xx"
|
|
||||||
|
|
||||||
#define PPC460SX_SDR0_SRST 0x201
|
#define PPC460SX_SDR0_SRST 0x201
|
||||||
#define PPC405EX_SDR0_SRST 0x200
|
#define PPC405EX_SDR0_SRST 0x200
|
||||||
#define PPC460EX_SDR0_SRST 0x201
|
#define PPC460EX_SDR0_SRST 0x201
|
||||||
|
@ -92,7 +92,7 @@ void ppc4xx_trng_probe(struct crypto4xx_core_device *core_dev)
|
|||||||
if (!rng)
|
if (!rng)
|
||||||
goto err_out;
|
goto err_out;
|
||||||
|
|
||||||
rng->name = MODULE_NAME;
|
rng->name = KBUILD_MODNAME;
|
||||||
rng->data_present = ppc4xx_trng_data_present;
|
rng->data_present = ppc4xx_trng_data_present;
|
||||||
rng->data_read = ppc4xx_trng_data_read;
|
rng->data_read = ppc4xx_trng_data_read;
|
||||||
rng->priv = (unsigned long) dev;
|
rng->priv = (unsigned long) dev;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user