diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-10-07 01:47:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-07 15:35:10 +0300 |
commit | be5f60d8b6f9611ff3a687de5d47d3ed9fb2cfb0 (patch) | |
tree | d1a9e7b8cd1db20710217e0e5991316024980ac1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6d99f85e342d2aa346c36e5fe52041a9c56a6c30 (diff) | |
download | linux-be5f60d8b6f9611ff3a687de5d47d3ed9fb2cfb0.tar.xz |
nfc: pn533: Constify serdev_device_ops
The only usage of pn532_serdev_ops is to pass its address to
serdev_device_set_client_ops(), which takes a pointer to const
serdev_device_ops as argument. Make it const to allow the compiler to
put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions