HomeFreeBSD

linuxkpi: Move device_create_groups_vargs to linux_compat.c

Description

linuxkpi: Move device_create_groups_vargs to linux_compat.c

device_create_groups_vargs encodes the size of struct device. Move
definition from .h to .c to move this size into the linuxkpi module
rather than encoding it in all client driver modules.

Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34768

(cherry picked from commit 702b6875035921252d0f2b72171c7662f28766fb)

Details

Provenance
impAuthored on Apr 5 2022, 5:05 AM
Reviewer
hselasky
Differential Revision
D34768: linuxkpi: Move device_create_groups_vargs to linux_compat.c
Parents
rG2f3d11894be6: linuxkpi: move kobject_create to .c file
Branches
Unknown
Tags
Unknown