NOMMU: Fix the RomFS Kconfig to ensure at least one backing store is selected
authorDavid Howells <dhowells@redhat.com>
Fri, 20 Feb 2009 12:31:54 +0000 (12:31 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 24 Mar 2009 09:02:39 +0000 (09:02 +0000)
commitf52fd5b7fd11e85fe9de15d5c5b5d574f9ff4cab
tree786d2d4f458294576584aff5862379076a483e0c
parentda4458bda237aa0cb1688f6c359477f203788f6a
NOMMU: Fix the RomFS Kconfig to ensure at least one backing store is selected

Fix the configuration of the RomFS to make sure that at least one
backing store method is always selected.  This is done by rendering it
down to a choice item that selects between Block, MTD and both.

This also works correctly in the case that CONFIG_MTD=m: MTD cannot be
selected as a backing store unless CONFIG_ROMFS_FS is also 'm'.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/romfs/Kconfig