Skip to content

Commit

Permalink
FDDI: defza: Make the driver version string constant
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maciej W. Rozycki authored and David S. Miller committed Nov 8, 2018
1 parent 04453b6 commit 8f5365e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/fddi/defza.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>");
Expand Down

0 comments on commit 8f5365e

Please sign in to comment.