mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[XFRM]: constify 'struct xfrm_type'
Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
2216b48376
commit
533cb5b0a6
11 changed files with 22 additions and 22 deletions
|
|
@ -300,7 +300,7 @@ static void ah_destroy(struct xfrm_state *x)
|
|||
}
|
||||
|
||||
|
||||
static struct xfrm_type ah_type =
|
||||
static const struct xfrm_type ah_type =
|
||||
{
|
||||
.description = "AH4",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
|||
|
|
@ -600,7 +600,7 @@ error:
|
|||
return err;
|
||||
}
|
||||
|
||||
static struct xfrm_type esp_type =
|
||||
static const struct xfrm_type esp_type =
|
||||
{
|
||||
.description = "ESP4",
|
||||
.owner = THIS_MODULE,
|
||||
|
|
|
|||
|
|
@ -437,7 +437,7 @@ error:
|
|||
goto out;
|
||||
}
|
||||
|
||||
static struct xfrm_type ipcomp_type = {
|
||||
static const struct xfrm_type ipcomp_type = {
|
||||
.description = "IPCOMP4",
|
||||
.owner = THIS_MODULE,
|
||||
.proto = IPPROTO_COMP,
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ static void ipip_destroy(struct xfrm_state *x)
|
|||
{
|
||||
}
|
||||
|
||||
static struct xfrm_type ipip_type = {
|
||||
static const struct xfrm_type ipip_type = {
|
||||
.description = "IPIP",
|
||||
.owner = THIS_MODULE,
|
||||
.proto = IPPROTO_IPIP,
|
||||
|
|
|
|||
Loading…
Reference in a new issue