]> git.baikalelectronics.ru Git - kernel.git/commit
net: phonet: mark phonet_protocol as const
authorLin Zhang <xiaolou4617@gmail.com>
Thu, 5 Oct 2017 17:40:35 +0000 (01:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 22:15:08 +0000 (23:15 +0100)
commit41a1d9e28318069a1a05cd8d1b44461c385693f8
tree2109c7f34d7bea667c3a0540470dbf644016e0bd
parent9c09348e779e77af3d3e60b0cdd06f2f37239713
net: phonet: mark phonet_protocol as const

The phonet_protocol structs don't need to be written by anyone and
so can be marked as const.

Signed-off-by: Lin Zhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/phonet/phonet.h
net/phonet/af_phonet.c
net/phonet/datagram.c
net/phonet/pep.c