summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/physmap.c
diff options
context:
space:
mode:
authorJamie Iles2011-05-23 11:22:44 +0200
committerDavid Woodhouse2011-05-25 03:12:51 +0200
commit11b73c8b10e58ae90c12e51be5531007e86a9c66 (patch)
tree7214da9513f57b6c8924e243b53cb86ea9e486c4 /drivers/mtd/maps/physmap.c
parentmtd: introduce mtd_device_(un)register() (diff)
downloadkernel-qcow2-linux-11b73c8b10e58ae90c12e51be5531007e86a9c66.tar.gz
kernel-qcow2-linux-11b73c8b10e58ae90c12e51be5531007e86a9c66.tar.xz
kernel-qcow2-linux-11b73c8b10e58ae90c12e51be5531007e86a9c66.zip
mtd: provide of_mtd_parse_partitions for !CONFIG_MTD_OF_PARTS
If we don't have OpenFirmware enabled then provide a stub of_mtd_parse_partitions that returns no partitions so drivers don't need ifdeffery inside. 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/maps/physmap.c')
0 files changed, 0 insertions, 0 deletions