]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move cdev_alloc into .c file
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:59 +0000 (23:05 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:59 +0000 (23:05 -0600)
commitaca0bcbca344b39f2a448e8c1c0d80bac8c0d6de
tree439760ce84900ecd2b26d1c737e9da09b883882b
parent58e6719ca06991a92b67630b634ddd25a9c2c3bf
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
sys/compat/linuxkpi/common/include/linux/cdev.h
sys/compat/linuxkpi/common/src/linux_compat.c