aboutsummaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorMaciej W. Rozycki2018-11-07 12:07:10 +0000
committerDavid S. Miller2018-11-07 21:53:31 -0800
commit8f5365ebf7b17c35dddbb694b4f0ffd1293a947f (patch)
tree2c1374cce125bf920c87341eeb7dec90a42c14cf /drivers/net
parent04453b6b241913f85af013eec187bab776428af5 (diff)
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')
-rw-r--r--drivers/net/fddi/defza.c2
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>");