Browse Source

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 <bhumirks@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Bhumika Goyal 8 years ago
parent
commit
733a707d6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/isdn/capi/kcapi.c

+ 1 - 1
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 driver_serial[CAPI_SERIAL_LEN] = "0004711";
 static char capi_manufakturer[64] = "AVM Berlin";
 static char capi_manufakturer[64] = "AVM Berlin";