thunderbolt: Constify static attribute_group structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Fri, 8 Jan 2021 23:09:19 +0000 (00:09 +0100)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 11 Jan 2021 14:13:48 +0000 (17:13 +0300)
commit6889e00f0e138beeb775e38decf59959b079ae6f
tree0ba8e91f38f0bb2bd9f7f67c6a4d649ebbb0f705
parent82096ecf589d8224447213c4592e54598fea0b9d
thunderbolt: Constify static attribute_group structs

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@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/domain.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/xdomain.c