diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-06 19:09:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 23:55:36 +0200 |
commit | 733a707d6c6a1a96625a45c4bdb19618d48ca74b (patch) | |
tree | a095e78feba1ca2b0b3c05114017cf137a4789c6 /drivers/isdn | |
parent | Merge branch 'Update-DSAs-FDB-API-and-perform-switchdev-cleanup' (diff) | |
download | linux-733a707d6c6a1a96625a45c4bdb19618d48ca74b.tar.xz linux-733a707d6c6a1a96625a45c4bdb19618d48ca74b.zip |
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/kcapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |