commit | c481c8178420b8cc8b188807fe6eee8b069ce2d8 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Dec 18 09:31:49 2018 +0100 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Tue Apr 02 09:58:04 2019 +0200 |
tree | ca61ce438d43f3af5541b23e6ba7146c90c04ebd | |
parent | 19b593a1cf068effeca496f5dc92e5ad43f91bb2 [diff] |
pinctrl: sh-pfc: Validate enum IDs for regs with fixed-width fields Add build-time checks to the PINMUX_CFG_REG() and PINMUX_DATA_REG() macros, to ensure the number of provided enum IDs is correct. This helps catching bugs early. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>