diff options
author | Lad Prabhakar <[email protected]> | 2023-01-02 22:18:12 +0000 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-01-26 16:45:49 +0100 |
commit | 2d4a628cade2fe9cf7aa5629cffe768afe0e7ae1 (patch) | |
tree | b0fbb43e1b8c5a21eaf7eec4609f4273cbec7307 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 00dfe29887761405ccd23cc0aa07cb86623bb2b7 (diff) |
pinctrl: renesas: rzg2l: Add BUILD_BUG_ON() checks
Add BUILD_BUG_ON() checks to avoid overflows for GPIO configs for each
supported SoC.
While at it, for readability set n_port_pins based on the GPIO pin configs
and not on GPIO names for r9a07g044_data as done for r9a07g043_data.
Suggested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions