diff options
| author | Rikard Falkeborn <[email protected]> | 2021-02-01 23:57:35 +0100 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-02-12 16:46:59 +0100 |
| commit | 1556057413a304b3020180240d798ec135d90844 (patch) | |
| tree | 8193e006341b2609a240d0d2da7f17de7f27448d /scripts/patch-kernel | |
| parent | eb23d91af55bc2369fe3f0aa6997e72eb20e16fe (diff) | |
PM: sleep: Constify static struct attribute_group
The only usage of suspend_attr_group is to put its address in an
array of pointers to const attribute_group structs.
Make it const to allow the compiler to put it into read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions