From: Maciej W. Rozycki Date: Wed, 7 Nov 2018 12:07:10 +0000 (+0000) Subject: FDDI: defza: Make the driver version string constant X-Git-Tag: v4.20-rc2~1^2~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f5365ebf7b17c35dddbb694b4f0ffd1293a947f;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/fddi/defza.c b/drivers/net/fddi/defza.c index bebd0d6d2320a..c5cae8e74dc40 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 ");