mtd: provide of_mtd_parse_partitions for !CONFIG_MTD_OF_PARTS
authorJamie Iles <jamie@jamieiles.com>
Mon, 23 May 2011 09:22:44 +0000 (10:22 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 25 May 2011 01:12:51 +0000 (02:12 +0100)
commit11b73c8b10e58ae90c12e51be5531007e86a9c66
tree7214da9513f57b6c8924e243b53cb86ea9e486c4
parentf5671ab3f67a10f7234de21464391c20c1ef8ebb
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>
include/linux/mtd/partitions.h