| commit | 65e03436401f119234ec115d172b9349148294ef | [log] [tgz] |
|---|---|---|
| author | Thomas Weißschuh <linux@weissschuh.net> | Sat Nov 30 17:30:54 2024 +0100 |
| committer | Thomas Weißschuh <linux@weissschuh.net> | Sun Dec 15 17:18:04 2024 +0100 |
| tree | 2628c000f0a086dfc2d1577917fe22eb0056778a | |
| parent | 56b47c97e894b9ffdf0dc8560dd500b5dfbce3e4 [diff] |
module: Constify 'struct module_attribute' These structs are never modified, move them to read-only memory. This makes the API clearer and also prepares for the constification of 'struct attribute' itself. While at it, also constify 'modinfo_attrs_count'. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>