]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Allow Kconfig to control the definition of NR_BANKS
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 11 Dec 2011 10:04:00 +0000 (10:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 13 Dec 2011 08:52:02 +0000 (08:52 +0000)
commit61981a412bf48b55326f53e3705da893fb3ab273
tree763ba2736c49661cafcf7e157879c53e41d121e5
parent23c74fd70e6a90d7da8ec427256ec59882292c5b
ARM: Allow Kconfig to control the definition of NR_BANKS

Move the sizing of NR_BANKS to a Kconfig control instead of selecting
it in a header file depending on platform selection.  This allows new
additions to its dependencies to be handled more gracefully.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/include/asm/setup.h