summaryrefslogtreecommitdiff
path: root/net/nfc/nci/core.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-07-25 00:47:34 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-25 11:21:20 +0300
commitd08ba0fdeaba03c70483d74de4401e67bbd9f020 (patch)
tree756d213dd53e438c957603e05cfd159c98cd19f0 /net/nfc/nci/core.c
parentb9c28286d8f1822a10f702fcefe0b8a1db4e6917 (diff)
downloadlinux-d08ba0fdeaba03c70483d74de4401e67bbd9f020.tar.xz
nfc: s3fwrn5: constify nci_ops
s3fwrn5 driver modifies static struct nci_ops only to set prop_ops. Since prop_ops is build time constant with known size, it can be made const. This allows to removeo the function setting the prop_ops - s3fwrn5_nci_get_prop_ops(). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc/nci/core.c')
0 files changed, 0 insertions, 0 deletions