mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] nfc: pn533: Constify ops-structs
@ 2021-10-06 22:47 Rikard Falkeborn
  2021-10-06 22:47 ` [PATCH 1/2] nfc: pn533: Constify serdev_device_ops Rikard Falkeborn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rikard Falkeborn @ 2021-10-06 22:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Jakub Kicinski, David S. Miller
  Cc: netdev, linux-kernel, linux-nfc, Rikard Falkeborn

Constify a couple of ops-structs. This allows the compiler to put the
static structs in read-only memory.

Rikard Falkeborn (2):
  nfc: pn533: Constify serdev_device_ops
  nfc: pn533: Constify pn533_phy_ops

 drivers/nfc/pn533/i2c.c   | 2 +-
 drivers/nfc/pn533/pn533.c | 2 +-
 drivers/nfc/pn533/pn533.h | 4 ++--
 drivers/nfc/pn533/uart.c  | 4 ++--
 drivers/nfc/pn533/usb.c   | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-07 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 22:47 [PATCH 0/2] nfc: pn533: Constify ops-structs Rikard Falkeborn
2021-10-06 22:47 ` [PATCH 1/2] nfc: pn533: Constify serdev_device_ops Rikard Falkeborn
2021-10-06 22:47 ` [PATCH 2/2] nfc: pn533: Constify pn533_phy_ops Rikard Falkeborn
2021-10-07 12:40 ` [PATCH 0/2] nfc: pn533: Constify ops-structs patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®