]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] physmap: make physmap compat explicit
authorMike Frysinger <vapier@gentoo.org>
Mon, 1 Dec 2008 22:23:40 +0000 (14:23 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 16:10:05 +0000 (16:10 +0000)
commite980fcfb59e7abb2556c5be0110f567122133b07
tree1cc0081df2565d12f47334f18941a67a32807fbb
parentd713778950f21c2d4bdd82c600166d5130c0fa87
[MTD] physmap: make physmap compat explicit

The current method for always showing physmap compat address, size, and
width is a bit confusing.  If length is set to 0, then the address and
width are still shown but silently unused.  The physmap code itself
already has logic which sets compat based on length, so just pull that out
and into the Kconfig to make everything clear.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Bryan Wu <Bryan.Wu@analog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/Kconfig
drivers/mtd/maps/physmap.c