Re: [PATCH v9 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function

2021-03-07 Thread Krzysztof WilczyƄski
Hi, [...] > +/* > + * pcie_port_service_get_irq - get irq of the service > + * @dev: PCI Express port the service is associated with > + * @service: For the service to find > + * > + * Get irq number associated with given service on a pci_dev > + */ > +int pcie_port_service_get_irq(struct pci_dev

[PATCH v9 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function

2021-01-18 Thread Kunihiko Hayashi
Add pcie_port_service_get_irq() that returns the virtual IRQ number for specified portdrv service. Cc: Lorenzo Pieralisi Signed-off-by: Kunihiko Hayashi Reviewed-by: Rob Herring Acked-by: Bjorn Helgaas --- drivers/pci/pcie/portdrv.h | 1 + drivers/pci/pcie/portdrv_core.c | 16 ++