nfc: constify nfc_ops
Neither the core nor the drivers modify the passed pointer to struct nfc_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>
Showing
- drivers/nfc/pn533/pn533.c 1 addition, 1 deletiondrivers/nfc/pn533/pn533.c
- include/net/nfc/nfc.h 2 additions, 2 deletionsinclude/net/nfc/nfc.h
- net/nfc/core.c 1 addition, 1 deletionnet/nfc/core.c
- net/nfc/digital_core.c 1 addition, 1 deletionnet/nfc/digital_core.c
- net/nfc/hci/core.c 1 addition, 1 deletionnet/nfc/hci/core.c
- net/nfc/nci/core.c 1 addition, 1 deletionnet/nfc/nci/core.c
Loading
Please register or sign in to comment