]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move device_create_groups_vargs to linux_compat.c
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:36 +0000 (23:05 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:05:36 +0000 (23:05 -0600)
commit702b6875035921252d0f2b72171c7662f28766fb
tree6b8574928078d8fbcb3bd72280cc6cc0e724a630
parent36929b55849c8f553a744d6e4fbc8b1a5ff73f66
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
sys/compat/linuxkpi/common/include/linux/device.h
sys/compat/linuxkpi/common/src/linux_compat.c