aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@freemail.hu>2018-01-15 20:50:43 +0100
committerJohn Crispin <john@phrozen.org>2018-01-17 11:07:17 +0100
commitbc178f6b15c6bca292fa19982e4189f6ca7c64d4 (patch)
treea4558076796dd481a5dc1abd2cc062426ac69d1a /toolchain/glibc
parent8954bc31edfaf80e997b7899126cbbb24cb41cdc (diff)
downloadupstream-bc178f6b15c6bca292fa19982e4189f6ca7c64d4.tar.gz
upstream-bc178f6b15c6bca292fa19982e4189f6ca7c64d4.tar.bz2
upstream-bc178f6b15c6bca292fa19982e4189f6ca7c64d4.zip
ar71xx: mach-rbspi: simplify reset button registration
The setup code defines four individual structures for the Reset buttons of the supported boards. The only difference between the definitions is the GPIO number used for the button. Replace the different structures with one generic variant, and add a helper function to simplify the button registration. Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'toolchain/glibc')
0 files changed, 0 insertions, 0 deletions