xen/arm: do not use void pointer in pci_host_common_probe
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Wed, 24 Nov 2021 07:59:42 +0000 (09:59 +0200)
committerJulien Grall <jgrall@amazon.com>
Fri, 3 Dec 2021 12:59:18 +0000 (12:59 +0000)
commit7b57956b20d90f47dafb7ba1eb52d23e42efd786
tree27aa87fa9b0ea1279b237859c66473ab10967627
parent7cfe450be3f590b8c65d52a3e513d47cdd07bf44
xen/arm: do not use void pointer in pci_host_common_probe

There is no reason to use void pointer while passing ECAM ops to the
pci_host_common_probe function as it is anyway casted to struct pci_ecam_ops
inside. For that reason remove the void pointer and pass struct pci_ecam_ops
pointer as is.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Acked-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Rahul Singh <rahul.singh@arm.com>
Tested-by: Rahul Singh <rahul.singh@arm.com>
xen/arch/arm/pci/ecam.c
xen/arch/arm/pci/pci-host-common.c
xen/include/asm-arm/pci.h