diff options
author | Thomas Weißschuh <[email protected]> | 2023-03-24 16:27:50 +0000 |
---|---|---|
committer | Gregory CLEMENT <[email protected]> | 2023-04-07 17:17:00 +0200 |
commit | f326e72a6e0baacea42ecaa9aaa4d7e7a355c972 (patch) | |
tree | 772fb53fce4161c69b8fbc6e074e54a1741c7df6 /lib/memory-notifier-error-inject.c | |
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 <[email protected]>
Reviewed-by: Marek Behún <[email protected]>
Signed-off-by: Gregory CLEMENT <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions