Skip to content
Commit 2a6ad871 authored by Maxime Ripard's avatar Maxime Ripard Committed by Arnd Bergmann
Browse files

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: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 51c66cf9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment