Re: [PATCH] thunderbolt: Constify static attribute_group structs

From: Mika Westerberg
Date: Mon Jan 11 2021 - 09:25:51 EST


On Sat, Jan 09, 2021 at 12:09:19AM +0100, Rikard Falkeborn wrote:
> The only usage of these is to put their addresses in arrays of pointers
> to const attribute_groups. Make them const to allow the compiler to put
> them in read-only memory.
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>

Applied to thunderbolt.git/next, thanks!