mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Wed, 3 Apr 2019 02:02:40 +0000 (15:02 +1300)
committerRichard Weinberger <richard@nod.at>
Mon, 6 May 2019 19:47:01 +0000 (21:47 +0200)
commitd41970097f10d898cef0eb04bf53d786efd6bbbc
tree37df3d032c2d61aba3bc16bf3ac25a7681ca40d6
parentb6abd06777a89a2579097fffc2b064449a9abf66
mtd: maps: Allow MTD_PHYSMAP with MTD_RAM

When the physmap_of_core.c code was merged into physmap-core.c the
ability to use MTD_PHYSMAP_OF with only MTD_RAM selected was lost.
Restore this by adding MTD_RAM to the dependencies of MTD_PHYSMAP.

Fixes: commit 642b1e8dbed7 ("mtd: maps: Merge physmap_of.c into physmap-core.c")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Hamish Martin <hamish.martin@alliedtelesis.co.nz>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/Kconfig