提交 8f5365eb 编写于 作者: M Maciej W. Rozycki 提交者: David S. Miller

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: NMaciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 04453b6b
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#define DRV_VERSION "v.1.1.4" #define DRV_VERSION "v.1.1.4"
#define DRV_RELDATE "Oct 6 2018" #define DRV_RELDATE "Oct 6 2018"
static char version[] = static const char version[] =
DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Maciej W. Rozycki\n"; DRV_NAME ": " DRV_VERSION " " DRV_RELDATE " Maciej W. Rozycki\n";
MODULE_AUTHOR("Maciej W. Rozycki <macro@linux-mips.org>"); MODULE_AUTHOR("Maciej W. Rozycki <macro@linux-mips.org>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册