projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04453b6
)
FDDI: defza: Make the driver version string constant
author
Maciej W. Rozycki
<macro@linux-mips.org>
Wed, 7 Nov 2018 12:07:10 +0000
(12:07 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Nov 2018 05:53:31 +0000
(21:53 -0800)
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>
drivers/net/fddi/defza.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/defza.c
b/drivers/net/fddi/defza.c
index bebd0d6d2320a4df2e86bcd13fc1dcf7c6d704b9..c5cae8e74dc40720eb2db3a3d91118a8ceece281 100644
(file)
--- 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 c
onst c
har version[] =
DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Maciej W. Rozycki\n";
MODULE_AUTHOR("Maciej W. Rozycki <macro@linux-mips.org>");