OpenCloudOS-Kernel/drivers/nfc/pn533
Rikard Falkeborn bc642817b6 nfc: pn533: Constify pn533_phy_ops
Neither the driver or the core modifies the pn533_phy_ops struct, so
make them const to allow the compiler to put the static structs in
read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-07 13:35:10 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile nfc: pn533: add UART phy driver 2019-10-29 21:05:26 -07:00
i2c.c nfc: pn533: Constify pn533_phy_ops 2021-10-07 13:35:10 +01:00
pn533.c nfc: pn533: Constify pn533_phy_ops 2021-10-07 13:35:10 +01:00
pn533.h nfc: pn533: Constify pn533_phy_ops 2021-10-07 13:35:10 +01:00
uart.c nfc: pn533: Constify pn533_phy_ops 2021-10-07 13:35:10 +01:00
usb.c nfc: pn533: Constify pn533_phy_ops 2021-10-07 13:35:10 +01:00