Re: [PATCH] gpiolib: put gpio_suffixes in a single compilation unit
From: Bartosz Golaszewski
Date: Fri Jun 14 2024 - 03:15:54 EST
From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
On Wed, 12 Jun 2024 20:48:21 +0200, Bartosz Golaszewski wrote:
> 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.
>
>
Applied, thanks!
[1/1] gpiolib: put gpio_suffixes in a single compilation unit
commit: 7e92061f1e9d1f6d3bfa6113719534f2c773b041
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>