diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-27 03:17:37 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-09 17:31:16 +0100 |
commit | 81773c98a808ee9881e2c503d6b9a5316c130694 (patch) | |
tree | 42a80e98e29904915d64e88488138d233b4ccbcd /drivers/fpga | |
parent | 9b12f050c76f090cc6d0aebe0ef76fed79ec3f15 (diff) |
firmware: dmi-sysfs: make kobj_type structures 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 definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20230227-kobj_type-firmware-dmi-v1-1-d1131d4e7a2b@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions