]> 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 05:06:06 +0000 (23:06 -0600)
commit3ea682e21eed92f31dcfb8a34409580d36c452f7
treed1614b9433bb471375dd075f40a76687bebd8493
parentaca0bcbca344b39f2a448e8c1c0d80bac8c0d6de
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
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c