diff options
author | Gabor Juhos <juhosg@freemail.hu> | 2018-01-15 20:50:43 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-01-17 11:07:17 +0100 |
commit | bc178f6b15c6bca292fa19982e4189f6ca7c64d4 (patch) | |
tree | a4558076796dd481a5dc1abd2cc062426ac69d1a /package/libs/readline/Makefile | |
parent | 8954bc31edfaf80e997b7899126cbbb24cb41cdc (diff) | |
download | upstream-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 'package/libs/readline/Makefile')
0 files changed, 0 insertions, 0 deletions