diff options
author | Bartosz Golaszewski <[email protected]> | 2024-06-12 20:48:21 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-06-14 09:14:58 +0200 |
commit | 7e92061f1e9d1f6d3bfa6113719534f2c773b041 (patch) | |
tree | 52205f0c3b0a34f377aa62a540f6da61488a9e09 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 08d94c7428680715527757585a6c4575fcf571b9 (diff) |
gpiolib: put gpio_suffixes in a single compilation unit
The gpio_suffixes array is defined in the gpiolib.h header. This means
the array is stored in .rodata of every compilation unit that includes
it. Put the definition for the array in gpiolib.c and export just the
symbol in the header. We need the size of the array so expose it too.
Reviewed-by: Mika Westerberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions