]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf7b862860a67f50ce4e2468f3ce7c5e959f94ac8
tree50f3bd4c4cecf446b4abc481d7f517f3720e6a36
parent9cff95a90fbe8a071f6bb627502f3c753b487a1a
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