HomeFreeBSD

linuxkpi: Move cdev_alloc into .c file

Description

linuxkpi: Move cdev_alloc into .c file

Move cdev_alloc into linux_compat.c since it encodes the size of struct
linux_cdev into the client modules otherwise.

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

(cherry picked from commit aca0bcbca344b39f2a448e8c1c0d80bac8c0d6de)
(cherry picked from commit d1f93d6721a6c51c0cb49078ad5c5d535a383964)

Details

Provenance
impAuthored on Apr 5 2022, 5:05 AM
Reviewer
hselasky
Differential Revision
D34771: linuxkpi: Move cdev_alloc into .c file
Parents
rG169aa349594c: linuxkpi: Move class_create to .c file
Branches
Unknown
Tags
Unknown