PCI: Fix Axxia PCIE driver for kernel 5.10
commit 154d76c4faa3b914f773c40b4dc07d084dfcfc81 from https://github.com/axxia/linux-yocto.git axxia-linux/v5.10/standard/axxia-dev/base drivers/pci/controller/pcie-axxia.h:62:24: error: field 'chip' has incomplete type drivers/pci/controller/pcie-axxia.c:562:15: error: variable 'axxia_msi_domain_info' has initializer but incomplete type drivers/pci/controller/pcie-axxia.c:563:3: error: 'struct msi_domain_info' has no member named 'flags' drivers/pci/controller/pcie-axxia.c:563:13: error: 'MSI_FLAG_USE_DEF_DOM_OPS' undeclared here (not in a function) drivers/pci/controller/pcie-axxia.c:563:40: error: 'MSI_FLAG_USE_DEF_CHIP_OPS' undeclared here (not in a function) drivers/pci/controller/pcie-axxia.c:564:6: error: 'MSI_FLAG_MULTI_PCI_MSI' undeclared here (not in a function) pci/controller/pcie-axxia.c:564:31: error: 'MSI_FLAG_PCI_MSIX' undeclared here (not in a function) drivers/pci/controller/pcie-axxia.c:565:3: error: 'struct msi_domain_info' has no member named 'chip' drivers/pci/controller/pcie-axxia.c:575:6: error: invalid use of undefined type 'struct msi_msg drivers/pci/controller/pcie-axxia.c:685:19: error: implicit declaration of function 'pci_msi_create_irq_domain' [-Werror=implicit-function-declaration] drivers/pci/controller/pcie-axxia.c:910:17: error: storage size of 'start' isn't known drivers/pci/controller/pcie-axxia.c:911:17: error: storage size of 'now' isn't known drivers/pci/controller/pcie-axxia.c:1091:10: error: implicit declaration of function 'ktime_to_timeval'; did you mean 'ktime_get_real'? [-Werror=implicit-function-declaration] drivers/pci/controller/pcie-axxia.c:1572:16: error: 'struct of_pci_range_parser' has no member named 'np'; did you mean 'na'? drivers/pci/controller/pcie-axxia.c:1582:17: error: 'struct of_pci_range_parser' has no member named 'np'; did you mean 'na'? drivers/pci/controller/pcie-axxia.c:1906:7: error: passing argument 4 of 'proc_create' from incompatible pointer type [-Werror=incompatible-pointer-types] drivers/pci/controller/pcie-axxia.c:562:31: error: storage size of 'axxia_msi_domain_info' isn't known Signed-off-by: Mikael Beckius <mikael.beckius@windriver.com> Signed-off-by: Charlie Paul <charlie.paul@windriver.com> Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com> Signed-off-by: John Jacques <john.jacques@intel.com> Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
parent
358b0e6a
Please register or sign in to comment