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.

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

(cherry picked from commit 702b6875035921252d0f2b72171c7662f28766fb)
(cherry picked from commit 417f1c81491ae26643ea7e3f3fc5c08b8e8944a9)

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
rGd3113190ddf6: linuxkpi: move kobject_create to .c file
Branches
Unknown
Tags
Unknown