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>
Showing
- drivers/nfc/pn533/i2c.c 1 addition, 1 deletiondrivers/nfc/pn533/i2c.c
- drivers/nfc/pn533/pn533.c 1 addition, 1 deletiondrivers/nfc/pn533/pn533.c
- drivers/nfc/pn533/pn533.h 2 additions, 2 deletionsdrivers/nfc/pn533/pn533.h
- drivers/nfc/pn533/uart.c 1 addition, 1 deletiondrivers/nfc/pn533/uart.c
- drivers/nfc/pn533/usb.c 1 addition, 1 deletiondrivers/nfc/pn533/usb.c
Please register or sign in to comment