]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c02e0b62a21f828de1fa076e3cd6053e058eb12
tree786d2d4f458294576584aff5862379076a483e0c
parent348a9b2ce9ff0061f2047fb2eb2997ab78592b73
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