diff options
Diffstat (limited to 'include/asm-generic/msi.h')
-rw-r--r-- | include/asm-generic/msi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/msi.h b/include/asm-generic/msi.h index 1010e74cb8e0..bf910d47e900 100644 --- a/include/asm-generic/msi.h +++ b/include/asm-generic/msi.h @@ -4,6 +4,8 @@ #include <linux/types.h> +#ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN + #ifndef NUM_MSI_ALLOC_SCRATCHPAD_REGS # define NUM_MSI_ALLOC_SCRATCHPAD_REGS 2 #endif @@ -34,4 +36,6 @@ typedef struct msi_alloc_info { #define GENERIC_MSI_DOMAIN_OPS 1 +#endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */ + #endif |