aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-03-24 16:27:50 +0000
committerGregory CLEMENT <gregory.clement@bootlin.com>2023-04-07 17:17:00 +0200
commitf326e72a6e0baacea42ecaa9aaa4d7e7a355c972 (patch)
tree772fb53fce4161c69b8fbc6e074e54a1741c7df6 /scripts/generate_rust_analyzer.py
parentLinux 6.3-rc1 (diff)
downloadlinux-rng-f326e72a6e0baacea42ecaa9aaa4d7e7a355c972.tar.xz
linux-rng-f326e72a6e0baacea42ecaa9aaa4d7e7a355c972.zip
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/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions