mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 00/12] constify mmc_host_ops structures
@ 2017-07-29  5:59 Julia Lawall
  2017-07-29  5:59 ` [PATCH 01/12] mmc: wmt-sdmmc: " Julia Lawall
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Julia Lawall @ 2017-07-29  5:59 UTC (permalink / raw)
  To: linux-mediatek
  Cc: bhumirks, kernel-janitors, linux-arm-kernel, Ulf Hansson,
	linux-mmc, linux-kernel, linux-usb, linux-rpi-kernel


The mmc_host_ops structure is only stored in the ops field of an
mmc_host structure, which is declared as const.  Thus the mmc_host_ops
structure itself can be const.

Done with the help of Coccinelle.

---

 drivers/mmc/host/bcm2835.c     |    2 +-
 drivers/mmc/host/davinci_mmc.c |    2 +-
 drivers/mmc/host/moxart-mmc.c  |    2 +-
 drivers/mmc/host/mtk-sd.c      |    2 +-
 drivers/mmc/host/s3cmci.c      |    2 +-
 drivers/mmc/host/sdricoh_cs.c  |    2 +-
 drivers/mmc/host/sh_mmcif.c    |    2 +-
 drivers/mmc/host/sunxi-mmc.c   |    2 +-
 drivers/mmc/host/toshsd.c      |    2 +-
 drivers/mmc/host/usdhi6rol0.c  |    2 +-
 drivers/mmc/host/vub300.c      |    2 +-
 drivers/mmc/host/wmt-sdmmc.c   |    2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

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

end of thread, other threads:[~2017-07-31  8:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-29  5:59 [PATCH 00/12] constify mmc_host_ops structures Julia Lawall
2017-07-29  5:59 ` [PATCH 01/12] mmc: wmt-sdmmc: " Julia Lawall
2017-07-29  5:59 ` [PATCH 02/12] mmc: s3cmci: " Julia Lawall
2017-07-29  5:59 ` [PATCH 03/12] mmc: davinci: " Julia Lawall
2017-07-29  5:59 ` [PATCH 04/12] mmc: moxart: " Julia Lawall
2017-07-29  5:59 ` [PATCH 05/12] mmc: sh_mmcif: " Julia Lawall
2017-07-29  5:59 ` [PATCH 06/12] mmc: toshsd: " Julia Lawall
2017-07-29  5:59 ` [PATCH 07/12] mmc: usdhi6rol0: " Julia Lawall
2017-07-29  5:59 ` [PATCH 08/12] mmc: vub300: " Julia Lawall
2017-07-29  5:59 ` [PATCH 09/12] mmc: sunxi: " Julia Lawall
2017-07-29  5:59 ` [PATCH 10/12] mmc: sdricoh_cs: " Julia Lawall
2017-07-29  5:59 ` [PATCH 11/12] mmc: mediatek: " Julia Lawall
2017-07-29  5:59 ` [PATCH 12/12] mmc: bcm2835: " Julia Lawall
2017-07-31  5:55   ` Stefan Wahren
2017-07-31  8:52 ` [PATCH 00/12] " Ulf Hansson

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®