]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitdcb3e137ce9be1dfc86e306182b23e3ae5e239c4
tree1cc0081df2565d12f47334f18941a67a32807fbb
parentc4956ed6fab26347ab1a712727da84b2501ab2dd
[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