public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 0/6] constify mtd pci_device_id
@ 2017-08-03 16:22 Arvind Yadav
  2017-08-03 16:22 ` [PATCH 1/6] mtd: ichxrom: constify pci_device_id Arvind Yadav
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Arvind Yadav @ 2017-08-03 16:22 UTC (permalink / raw)
  To: dwmw2, computersforpeace, boris.brezillon, marek.vasut, richard,
	cyrille.pitchen
  Cc: linux-mtd, linux-kernel

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

Arvind Yadav (6):
  [PATCH 1/6] mtd: maps: ichxrom: constify pci_device_id.
  [PATCH 2/6] mtd: amd76xrom: constify pci_device_id.
  [PATCH 3/6] mtd: esb2rom: constify pci_device_id.
  [PATCH 4/6] mtd: ck804xrom: constify pci_device_id.
  [PATCH 5/6] mtd: intel_vr_nor: constify pci_device_id.
  [PATCH 6/6] mtd: pci: constify pci_device_id.

 drivers/mtd/maps/amd76xrom.c    | 4 ++--
 drivers/mtd/maps/ck804xrom.c    | 4 ++--
 drivers/mtd/maps/esb2rom.c      | 4 ++--
 drivers/mtd/maps/ichxrom.c      | 4 ++--
 drivers/mtd/maps/intel_vr_nor.c | 2 +-
 drivers/mtd/maps/pci.c          | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-08-17 13:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-03 16:22 [PATCH 0/6] constify mtd pci_device_id Arvind Yadav
2017-08-03 16:22 ` [PATCH 1/6] mtd: ichxrom: constify pci_device_id Arvind Yadav
2017-08-03 16:22 ` [PATCH 2/6] mtd: amd76xrom: " Arvind Yadav
2017-08-03 16:22 ` [PATCH 3/6] mtd: esb2rom: " Arvind Yadav
2017-08-03 16:22 ` [PATCH 4/6] mtd: ck804xrom: " Arvind Yadav
2017-08-03 16:22 ` [PATCH 5/6] mtd: intel_vr_nor: " Arvind Yadav
2017-08-03 16:22 ` [PATCH 6/6] mtd: pci: " Arvind Yadav
2017-08-17 13:02 ` [PATCH 0/6] constify mtd pci_device_id Boris Brezillon

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