From 4e69a3d2db7e7abd0d815bd95acc8bc56e3011ec Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Thu, 12 Sep 2024 10:01:14 +0200 Subject: [PATCH] include/nuttx/arch.h: MSI alloc API should be always available MSI-like interrupts delivery can be used also for other devices than PCI, e.g HPET Signed-off-by: p-szafonimateusz --- include/nuttx/arch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index e6c9199a7f..86977e9512 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -2939,8 +2939,6 @@ int up_debugpoint_remove(int type, FAR void *addr, size_t size); #endif -#ifdef CONFIG_PCI - /**************************************************************************** * Name: up_alloc_irq_msi * @@ -2979,6 +2977,8 @@ int up_alloc_irq_msi(uint8_t busno, uint32_t devfn, FAR int *irq, int num); void up_release_irq_msi(FAR int *irq, int num); +#ifdef CONFIG_PCI + /**************************************************************************** * Name: up_connect_irq *