]> git.baikalelectronics.ru Git - kernel.git/commit
nfc: constify nfc_llc_ops
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Sat, 24 Jul 2021 21:49:27 +0000 (23:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jul 2021 08:21:21 +0000 (09:21 +0100)
commit3e5bcef1801363a9621f0b754d7521d6ea3c8c3c
tree323c85b3dcb284369ae59847c52e6b2426a04cb0
parent8f6d2493de4e2b748bd0ab06c6f604fc7d584086
nfc: constify nfc_llc_ops

Neither the core nor the drivers modify the passed pointer to struct
nfc_llc_ops, so make it a pointer to const for correctness and safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/driver-api/nfc/nfc-hci.rst
net/nfc/hci/llc.c
net/nfc/hci/llc.h
net/nfc/hci/llc_nop.c
net/nfc/hci/llc_shdlc.c