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)
commit958cab0fbe13dc89b6f779d495fed283c0e7de5a
tree763ba2736c49661cafcf7e157879c53e41d121e5
parentb4244738d20a631cd27fa105a2db71622618ab4e
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