diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-04-03 10:06:22 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-04-04 01:07:57 +0200 |
commit | 95197779091166b9ed4b1c630c13600abf94ada7 (patch) | |
tree | ad0ac472c9df30dd8ff0e56dc4790cb76e5b64a5 /drivers/fpga/xilinx-selectmap.c | |
parent | 39cd87c4eb2b893354f3b850f916353f2658ae6f (diff) |
i2c: pxa: hide unused icr_bits[] variable
The function using this is hidden in an #ifdef, so the variable
needs the same one for a clean W=1 build:
drivers/i2c/busses/i2c-pxa.c:327:26: error: 'icr_bits' defined but not used [-Werror=unused-const-variable=]
Fixes: d6a7b5f84b5c ("[ARM] 4827/1: fix two warnings in drivers/i2c/busses/i2c-pxa.c")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions