From: Bhumika Goyal Date: Sun, 6 Aug 2017 17:09:06 +0000 (+0530) Subject: isdn: kcapi: make capi_version const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=733a707d6c6a1a96625a45c4bdb19618d48ca74b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git isdn: kcapi: make capi_version const Declare this structure as const as it is only used during a copy operation. Signed-off-by: Bhumika Goyal Signed-off-by: David S. Miller --- diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c index 9ca691d6c13b..46c189ad8d94 100644 --- a/drivers/isdn/capi/kcapi.c +++ b/drivers/isdn/capi/kcapi.c @@ -55,7 +55,7 @@ struct capictr_event { /* ------------------------------------------------------------- */ -static struct capi_version driver_version = {2, 0, 1, 1 << 4}; +static const struct capi_version driver_version = {2, 0, 1, 1 << 4}; static char driver_serial[CAPI_SERIAL_LEN] = "0004711"; static char capi_manufakturer[64] = "AVM Berlin";