aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder
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 /target/imagebuilder
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 'target/imagebuilder')
0 files changed, 0 insertions, 0 deletions