]> 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>
Wed, 6 Apr 2022 17:45:31 +0000 (11:45 -0600)
commit43b329596f19d97375ce3b7cb8ebbd191fea821a
treebebeddaf6bf5960ac0a6b34071703489975b2afd
parent88543510cc7247f8eb87f82df262362883855aa9
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.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky, emaste
Differential Revision: https://reviews.freebsd.org/D34772

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