]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move lkpi_pci_devres_get_alloc into .c file
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:06 +0000 (23:06 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 14:40:10 +0000 (08:40 -0600)
commit2cd55de380d3d6f02c9b40ea53a319b477268f1c
tree9c36e6b67666d59acf003df29b2bf2c23d26790d
parentd1f93d6721a6c51c0cb49078ad5c5d535a383964
linuxkpi: Move lkpi_pci_devres_get_alloc into .c file

lkpi_pci_devres_get_alloc encodes the struct pci_devres into its
code. Move from .h file to .c file to move this knowledge into linuxkpi
module.

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

(cherry picked from commit 3ea682e21eed92f31dcfb8a34409580d36c452f7)
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c