OSDN Git Service

nfc: port100: constify protocol list array
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 23 Jul 2021 09:20:34 +0000 (11:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 16:50:43 +0000 (17:50 +0100)
commitc65e7025c60310e927c944a3907a415fe06f3999
tree5b25b2d64af297475770ee3246db93a90aad2577
parent6a6b83ca471c50a05d1b07bd9594469986106bed
nfc: port100: constify protocol list array

File-scope "port100_protocol" array is read-only and passed as pointer
to const, so it can be made a const to increase code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/port100.c