ARM: multiplatform: Sort the max gpio numbers.
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 3 Feb 2013 11:24:48 +0000 (12:24 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 11 Mar 2013 20:49:46 +0000 (21:49 +0100)
commit2a6ad871a10ce915a300d8f227168ad4c34936ec
tree50f3bd4c4cecf446b4abc481d7f517f3720e6a36
parent51c66cf9695f389126119e4cd7a50b832648f11e
ARM: multiplatform: Sort the max gpio numbers.

When building a multiplatform kernel, we could end up with a smaller
number of GPIOs than the one required by the platform the kernel was
running on.

Sort the max GPIO number by descending order so that we always take the
highest number required.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig