android_kernel_xiaomi_sm8350/include/linux/mtd
David Brownell 1f24b5a8ec [MTD] driver model updates
Update driver model support in the MTD framework, so it fits
better into the current udev-based hotplug framework:

 - Each mtd_info now has a device node.  MTD drivers should set
   the dev.parent field to point to the physical device, before
   setting up partitions or otherwise declaring MTDs.

 - Those device nodes always map to /sys/class/mtdX device nodes,
   which no longer depend on MTD_CHARDEV.

 - Those mtdX sysfs nodes have a "starter set" of attributes;
   it's not yet sufficient to replace /proc/mtd.

 - Enabling MTD_CHARDEV provides /sys/class/mtdXro/ nodes and the
   /sys/class/mtd*/dev attributes (for udev, mdev, etc).

 - Include a MODULE_ALIAS_CHARDEV_MAJOR macro.  It'll work with
   udev creating the /dev/mtd* nodes, not just a static rootfs.

So the sysfs structure is pretty much what you'd expect, except
that readonly chardev nodes are a bit quirky.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-04-04 14:29:07 +01:00
..
bbm.h
blktrans.h Support 'discard sectors' operation in translation layer support core 2008-10-09 08:56:01 +02:00
cfi_endian.h
cfi.h [MTD] CFI: remove major/minor version check for command set 0x0002 2009-01-09 12:16:28 +00:00
compatmac.h
concat.h mtd: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00
doc2000.h
flashchip.h [MTD] [NOR] cfi_cmdset_0001: Timeouts for erase, write and unlock operations 2008-08-06 09:44:54 +01:00
ftl.h [MTD] Remove strange u_int32_t types from FTL 2008-12-10 14:06:42 +00:00
gen_probe.h
inftl.h
map.h [MTD] LPDDR added new pfow_base parameter 2009-01-05 13:56:08 +01:00
mtd.h [MTD] driver model updates 2009-04-04 14:29:07 +01:00
mtdram.h
nand_ecc.h
nand-gpio.h [MTD] [NAND] GPIO NAND flash driver 2008-10-18 12:48:42 +01:00
nand.h [MTD] [NAND] remove excess kernel-doc notation 2008-12-10 16:10:40 +00:00
ndfc.h
nftl.h
onenand_regs.h [MTD] [OneNAND] Add defines for HF and sync write 2008-08-01 22:06:15 +01:00
onenand.h
partitions.h [MTD] partitioning utility predicates 2009-03-20 13:16:44 +00:00
pfow.h [MTD] LPDDR PFOW definition 2009-01-05 13:55:58 +01:00
physmap.h [MTD] LPDDR extended physmap driver to support LPDDR flash 2009-01-05 13:57:28 +01:00
plat-ram.h
pmc551.h
qinfo.h [MTD] LPDDR QINFO records definitions 2009-01-05 13:55:54 +01:00
sh_flctl.h [MTD] [NAND] sh_flctl: add support for Renesas SuperH FLCTL 2008-10-14 13:33:05 +01:00
sharpsl.h [MTD] sharpsl-nand: use platform_data for model-specific values 2008-10-29 21:06:38 +03:00
super.h
ubi.h UBI: amend commentaries 2008-07-24 13:32:56 +03:00
xip.h