Searched hist:"81773 c98a808ee9881e2c503d6b9a5316c130694" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/firmware/ |
H A D | dmi-sysfs.c | diff 81773c98a808ee9881e2c503d6b9a5316c130694 Sun Feb 26 21:17:37 CST 2023 Thomas Weißschuh <linux@weissschuh.net> 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>
|