diff options
author | Serge Semin <[email protected]> | 2020-07-30 18:28:01 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2020-08-27 10:32:57 +0200 |
commit | f9f890ba2b13ea9ccfffd0e7354c7b64d9109790 (patch) | |
tree | 89e6c0438c164635b1f5e12abd171563fbf392c2 /scripts/gdb/linux/modules.py | |
parent | 75c1236a4d7c4c0ec5f7e9115f541ab08edbfc43 (diff) |
gpio: dwapb: Add max GPIOs macro
Add a new macro DWAPB_MAX_GPIOS which defines the maximum possible number
of GPIO lines corresponding to the maximum DW APB GPIO controller port
width. Use the new macro instead of number literal 32 where it's
applicable.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Serge Semin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions