summaryrefslogtreecommitdiff
path: root/drivers/hwmon/stts751.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-06-12 20:48:21 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-06-14 09:14:58 +0200
commit7e92061f1e9d1f6d3bfa6113719534f2c773b041 (patch)
tree52205f0c3b0a34f377aa62a540f6da61488a9e09 /drivers/hwmon/stts751.c
parent08d94c7428680715527757585a6c4575fcf571b9 (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 <mika.westerberg@linux.intel.com> Link: https://lore.kernel.org/r/20240612184821.58053-1-brgl@bgdev.pl Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/hwmon/stts751.c')
0 files changed, 0 insertions, 0 deletions