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.

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

(cherry picked from commit aca0bcbca344b39f2a448e8c1c0d80bac8c0d6de)

Details

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