diff options
author | Jamie Iles | 2011-05-23 11:23:43 +0200 |
---|---|---|
committer | David Woodhouse | 2011-05-25 03:25:35 +0200 |
commit | 6a8a98b22b10f1560d5f90aded4a54234b9b2724 (patch) | |
tree | c0757487bad9e1774bebc6fff935e275f036809a /drivers/mtd/mtdchar.c | |
parent | mtd: remove add_mtd_partitions, add_mtd_device and friends (diff) | |
download | kernel-qcow2-linux-6a8a98b22b10f1560d5f90aded4a54234b9b2724.tar.gz kernel-qcow2-linux-6a8a98b22b10f1560d5f90aded4a54234b9b2724.tar.xz kernel-qcow2-linux-6a8a98b22b10f1560d5f90aded4a54234b9b2724.zip |
mtd: kill CONFIG_MTD_PARTITIONS
Now that none of the drivers use CONFIG_MTD_PARTITIONS we can remove
it from Kconfig and the last remaining uses.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r-- | drivers/mtd/mtdchar.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index f488eabaa7b5..3f92731a5b9e 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c @@ -508,7 +508,6 @@ static int shrink_ecclayout(const struct nand_ecclayout *from, return 0; } -#ifdef CONFIG_MTD_PARTITIONS static int mtd_blkpg_ioctl(struct mtd_info *mtd, struct blkpg_ioctl_arg __user *arg) { @@ -544,8 +543,6 @@ static int mtd_blkpg_ioctl(struct mtd_info *mtd, return -EINVAL; } } -#endif - static int mtd_ioctl(struct file *file, u_int cmd, u_long arg) { @@ -937,7 +934,6 @@ static int mtd_ioctl(struct file *file, u_int cmd, u_long arg) break; } -#ifdef CONFIG_MTD_PARTITIONS case BLKPG: { ret = mtd_blkpg_ioctl(mtd, @@ -951,7 +947,6 @@ static int mtd_ioctl(struct file *file, u_int cmd, u_long arg) ret = 0; break; } -#endif default: ret = -ENOTTY; |