diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2018-11-07 12:07:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 21:53:31 -0800 |
commit | 8f5365ebf7b17c35dddbb694b4f0ffd1293a947f (patch) | |
tree | 2c1374cce125bf920c87341eeb7dec90a42c14cf /drivers/net/fddi | |
parent | 04453b6b241913f85af013eec187bab776428af5 (diff) | |
download | lwn-8f5365ebf7b17c35dddbb694b4f0ffd1293a947f.tar.gz lwn-8f5365ebf7b17c35dddbb694b4f0ffd1293a947f.zip |
FDDI: defza: Make the driver version string constant
The driver version string is obviously not meant to be changed at run
time, so mark it `const'.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r-- | drivers/net/fddi/defza.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/defza.c b/drivers/net/fddi/defza.c index bebd0d6d2320..c5cae8e74dc4 100644 --- a/drivers/net/fddi/defza.c +++ b/drivers/net/fddi/defza.c @@ -56,7 +56,7 @@ #define DRV_VERSION "v.1.1.4" #define DRV_RELDATE "Oct 6 2018" -static char version[] = +static const char version[] = DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Maciej W. Rozycki\n"; MODULE_AUTHOR("Maciej W. Rozycki <macro@linux-mips.org>"); |