mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] fsi: Constify fsi_device_ids
@ 2020-08-05 23:26 Rikard Falkeborn
  2020-08-05 23:26 ` [PATCH 1/3] fsi: master: Constify hub_master_ids Rikard Falkeborn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Rikard Falkeborn @ 2020-08-05 23:26 UTC (permalink / raw)
  To: linux-fsi; +Cc: linux-kernel, jk, joel, alistair, eajames, Rikard Falkeborn

fsi_device_id is never modified (and it's a const pointer in the
fsi_driver struct), so make the static variables const to allow the
compiler to put them in read-only memory.

Rikard Falkeborn (3):
  fsi: master: Constify hub_master_ids
  fsi: sbefifo: Constify sbefifo_ids
  fsi: scom: Constify scom_ids

 drivers/fsi/fsi-master-hub.c | 2 +-
 drivers/fsi/fsi-sbefifo.c    | 2 +-
 drivers/fsi/fsi-scom.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.28.0


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

end of thread, other threads:[~2020-08-05 23:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 23:26 [PATCH 0/3] fsi: Constify fsi_device_ids Rikard Falkeborn
2020-08-05 23:26 ` [PATCH 1/3] fsi: master: Constify hub_master_ids Rikard Falkeborn
2020-08-05 23:26 ` [PATCH 2/3] fsi: sbefifo: Constify sbefifo_ids Rikard Falkeborn
2020-08-05 23:26 ` [PATCH 3/3] fsi: scom: Constify scom_ids Rikard Falkeborn
2020-08-05 23:56 ` [PATCH 0/3] fsi: Constify fsi_device_ids Joel Stanley

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®