diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-03-06 19:33:17 +0100 |
|---|---|---|
| committer | Dan Williams <djbw@kernel.org> | 2026-04-02 15:45:18 -0700 |
| commit | 3177779ae17db4c66c851f799505fb95c7530c03 (patch) | |
| tree | 4bc88b0f6fe5aeeab797a84ce89aac6c1f8358fb /include | |
| parent | f338e77383789c0cae23ca3d48adcc5e9e137e3c (diff) | |
virt: coco: change tsm_class to a const struct
The class_create() call has been deprecated in favor of class_register()
as the driver core now allows for a struct class to be in read-only
memory. Change tsm_class to be a const struct class and drop the
class_create() call. Compile tested only.
Link: https://lore.kernel.org/all/2023040244-duffel-pushpin-f738@gregkh/
Changes with v1:
- Removed redundant int err variable.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://patch.msgid.link/20260306183325.245254-1-jkoolstra@xs4all.nl
Signed-off-by: Dan Williams <djbw@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
