diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-02-16 04:05:30 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-02-17 12:50:28 +0300 |
commit | 01361096a33a81cc224e12e8cf06240f12737365 (patch) | |
tree | e60d04f368b2a2b90fdb878d6e179fcd3a147a81 /drivers/gpu/drm/i915/gt/intel_gt.c | |
parent | d6683bbe70d4cdbf3da6acecf7d569cc6f0b4382 (diff) | |
download | linux-01361096a33a81cc224e12e8cf06240f12737365.tar.xz |
drm/i915: 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>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230216-kobj_type-i915-v1-1-ca65c9b93518@weissschuh.net
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_gt.c')
0 files changed, 0 insertions, 0 deletions