OpenWrt – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | From c3621f23fed7d6fff33083ae538004ea59c01d8f Mon Sep 17 00:00:00 2001 |
2 | From: Christian Lamparter <chunkeey@gmail.com> |
||
3 | Date: Thu, 21 Dec 2017 15:11:18 +0100 |
||
4 | Subject: [PATCH 4/6] crypto: crypto4xx - kill MODULE_NAME |
||
5 | |||
6 | KBUILD_MODNAME provides the same value. |
||
7 | |||
8 | Signed-off-by: Christian Lamparter <chunkeey@gmail.com> |
||
9 | --- |
||
10 | drivers/crypto/amcc/crypto4xx_core.c | 2 +- |
||
11 | drivers/crypto/amcc/crypto4xx_core.h | 2 -- |
||
12 | drivers/crypto/amcc/crypto4xx_trng.c | 2 +- |
||
13 | 3 files changed, 2 insertions(+), 4 deletions(-) |
||
14 | |||
15 | --- a/drivers/crypto/amcc/crypto4xx_core.c |
||
16 | +++ b/drivers/crypto/amcc/crypto4xx_core.c |
||
17 | @@ -1432,7 +1432,7 @@ MODULE_DEVICE_TABLE(of, crypto4xx_match) |
||
18 | |||
19 | static struct platform_driver crypto4xx_driver = { |
||
20 | .driver = { |
||
21 | - .name = MODULE_NAME, |
||
22 | + .name = KBUILD_MODNAME, |
||
23 | .of_match_table = crypto4xx_match, |
||
24 | }, |
||
25 | .probe = crypto4xx_probe, |
||
26 | --- a/drivers/crypto/amcc/crypto4xx_core.h |
||
27 | +++ b/drivers/crypto/amcc/crypto4xx_core.h |
||
28 | @@ -28,8 +28,6 @@ |
||
29 | #include "crypto4xx_reg_def.h" |
||
30 | #include "crypto4xx_sa.h" |
||
31 | |||
32 | -#define MODULE_NAME "crypto4xx" |
||
33 | - |
||
34 | #define PPC460SX_SDR0_SRST 0x201 |
||
35 | #define PPC405EX_SDR0_SRST 0x200 |
||
36 | #define PPC460EX_SDR0_SRST 0x201 |
||
37 | --- a/drivers/crypto/amcc/crypto4xx_trng.c |
||
38 | +++ b/drivers/crypto/amcc/crypto4xx_trng.c |
||
39 | @@ -92,7 +92,7 @@ void ppc4xx_trng_probe(struct crypto4xx_ |
||
40 | if (!rng) |
||
41 | goto err_out; |
||
42 | |||
43 | - rng->name = MODULE_NAME; |
||
44 | + rng->name = KBUILD_MODNAME; |
||
45 | rng->data_present = ppc4xx_trng_data_present; |
||
46 | rng->data_read = ppc4xx_trng_data_read; |
||
47 | rng->priv = (unsigned long) dev; |