]> 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)
commit23ed71913574eeb91affe0abf9b6c5a8010baaca
tree2109c7f34d7bea667c3a0540470dbf644016e0bd
parentab7f4b2c3ec833714d8564c32395da29981df15d
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