summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/physmap.c
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov2011-06-02 16:51:14 +0200
committerArtem Bityutskiy2011-09-11 14:01:57 +0200
commit13e0fe49f676607688da7475c33540ec5dac53b5 (patch)
treeb77e1a4e8f361e170158b9131ffa0d9b95338c33 /drivers/mtd/maps/physmap.c
parentmtd: drop ceiva map driver (diff)
downloadkernel-qcow2-linux-13e0fe49f676607688da7475c33540ec5dac53b5.tar.gz
kernel-qcow2-linux-13e0fe49f676607688da7475c33540ec5dac53b5.tar.xz
kernel-qcow2-linux-13e0fe49f676607688da7475c33540ec5dac53b5.zip
mtd: drop physmap_configure
physmap_configure() and physmap_set_partitions() have no users in kernel. Out of kernel users should have been converted to regular platform device long ago. Drop support for this obsolete API. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/maps/physmap.c')
-rw-r--r--drivers/mtd/maps/physmap.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index f64cee4a3bfb..2174d103297e 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -245,21 +245,6 @@ static struct platform_device physmap_flash = {
.num_resources = 1,
.resource = &physmap_flash_resource,
};
-
-void physmap_configure(unsigned long addr, unsigned long size,
- int bankwidth, void (*set_vpp)(struct map_info *, int))
-{
- physmap_flash_resource.start = addr;
- physmap_flash_resource.end = addr + size - 1;
- physmap_flash_data.width = bankwidth;
- physmap_flash_data.set_vpp = set_vpp;
-}
-
-void physmap_set_partitions(struct mtd_partition *parts, int num_parts)
-{
- physmap_flash_data.nr_parts = num_parts;
- physmap_flash_data.parts = parts;
-}
#endif
static int __init physmap_init(void)