All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS
@ 2011-05-12 13:26 Jamie Iles
  2011-05-12 13:26 ` [RFC PATCH 1/7] mtd: always build partitioning support Jamie Iles
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Jamie Iles @ 2011-05-12 13:26 UTC (permalink / raw)
  To: linux-mtd; +Cc: Jamie Iles, dwmw2, dedekind1

This patch series is an RFC for the removal of CONFIG_MTD_PARTITIONS.
Partitioning is still supported, but is always compiled in if CONFIG_MTD is
selected.  To transition, two new symbols are introduced -
mtd_device_{,un}register() that replace add_mtd_device(), add_mtd_partitions()
and their counterparts.  The series converts a number of drivers over to use
these new interfaces and the final patch removes the old symbols.

Note that this patch does not transition all of the drivers so is incomplete
(and not signed off!).  If this approach is suitable then I'll convert all of
the other drivers over.

Jamie Iles (7):
  mtd: always build partitioning support
  mtd: introduce mtd_device_(un)register()
  mtd/physmap: convert to mtd_device_register()
  mtd/nand: convert to mtd_device_unregister()
  nand/gpio: convert to mtd_device_register()
  mtd/plat_nand: convert to mtd_device_register()
  mtd: remove add_mtd_partitions, add_mtd_device and friends

 drivers/mtd/Kconfig            |   18 +-----------------
 drivers/mtd/Makefile           |    3 +--
 drivers/mtd/maps/physmap.c     |   31 +++++--------------------------
 drivers/mtd/mtdcore.c          |   30 +++++++++++++++++++++++++++---
 drivers/mtd/mtdcore.h          |    6 ++++++
 drivers/mtd/mtdpart.c          |    4 ++--
 drivers/mtd/nand/gpio.c        |    5 ++---
 drivers/mtd/nand/nand_base.c   |    7 +------
 drivers/mtd/nand/plat_nand.c   |   14 +++-----------
 include/linux/mtd/mtd.h        |   15 +++++----------
 include/linux/mtd/partitions.h |   11 +----------
 include/linux/mtd/physmap.h    |    4 ----
 12 files changed, 54 insertions(+), 94 deletions(-)

-- 
1.7.4.4

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

end of thread, other threads:[~2011-05-20  5:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 13:26 [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 1/7] mtd: always build partitioning support Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 2/7] mtd: introduce mtd_device_(un)register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 3/7] mtd/physmap: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 4/7] mtd/nand: convert to mtd_device_unregister() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 5/7] nand/gpio: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 6/7] mtd/plat_nand: " Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 7/7] mtd: remove add_mtd_partitions, add_mtd_device and friends Jamie Iles
2011-05-16 13:04 ` [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Artem Bityutskiy
2011-05-16 14:37   ` Jamie Iles
2011-05-19  5:44     ` Jamie Iles
2011-05-20  5:50       ` Artem Bityutskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.