diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-24 16:27:50 +0000 |
---|---|---|
committer | Gregory CLEMENT <gregory.clement@bootlin.com> | 2023-04-07 17:17:00 +0200 |
commit | f326e72a6e0baacea42ecaa9aaa4d7e7a355c972 (patch) | |
tree | 772fb53fce4161c69b8fbc6e074e54a1741c7df6 /scripts/gdb/linux/modules.py | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) |
firmware: turris-mox-rwtm: make kobj_type structure constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definition to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions