]> 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)
commitcd6d2c45a2c42572f61d3a1b8d5a061c04adc45b
tree50f3bd4c4cecf446b4abc481d7f517f3720e6a36
parent8c064e1b6f3c06dcf7fb14367b5892ed4e5f336d
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