HomeFreeBSD

linuxkpi: Move class_create to .c file

Description

linuxkpi: Move class_create to .c file

class_create encodes the size of struct class into the generated
code. Move from .h file to .c file to move this knowledge from the
client modules that call this into the linuxkpi module.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34769

(cherry picked from commit 1341ac9f9c111bba4e1ca046c479f32f2d4989c0)
(cherry picked from commit 98d2b4a158f15d6d971a88315c5c5987036f89a3)

Details

Provenance
impAuthored on Apr 5 2022, 5:05 AM
Reviewer
hselasky
Differential Revision
D34769: linuxkpi: Move class_create to .c file
Parents
rGf6f168a17ec2: linuxkpi: Move device_create_groups_vargs to linux_compat.c
Branches
Unknown
Tags
Unknown