]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: edit comments on deprecation of ioctl ECCGETLAYOUT
authorBrian Norris <computersforpeace@gmail.com>
Mon, 20 Sep 2010 06:57:12 +0000 (23:57 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:37:27 +0000 (23:37 +0100)
commit7d8d2da8ef9d9aa12320a5f9a745a779a0c78c8f
treed2495228b90bc94c7ebd7209d82310e5d72ec723
parent91c87a5d5feeace91075aa1ecd05c81fcd3e6b18
mtd: edit comments on deprecation of ioctl ECCGETLAYOUT

There were some improvements and additions necessary in the
comments explaining of the expansion of nand_ecclayout, the
introduction of nand_ecclayout_user, and the deprecation of the
ioctl ECCGETLAYOUT.

Also, I found a better placement for the macro MTD_MAX_ECCPOS_ENTRIES;
next to the definition of MTD_MAX_OOBFREE_ENTRIES in mtd-abi.h. The macro
is really only important for the ioctl code (found in drivers/mtd/mtdchar.c)
but since there are small edits being made to the user-space header, I
figured this is a better location.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/mtdchar.c
include/linux/mtd/mtd.h
include/mtd/mtd-abi.h