Skip to content
Commit 35aa29ff authored by Mikael Beckius's avatar Mikael Beckius Committed by Quanyang Wang
Browse files

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: default avatarMikael Beckius <mikael.beckius@windriver.com>
Signed-off-by: default avatarCharlie Paul <charlie.paul@windriver.com>
Signed-off-by: default avatarDaniel Dragomir <Daniel.Dragomir@windriver.com>
Signed-off-by: default avatarJohn Jacques <john.jacques@intel.com>
Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
parent 358b0e6a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment