diff options
Diffstat (limited to 'include/linux/irqdomain.h')
-rw-r--r-- | include/linux/irqdomain.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 52454881938a..ead4a4215797 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h | |||
@@ -182,6 +182,9 @@ extern void irq_domain_generate_simple(const struct of_device_id *match, | |||
182 | static inline void irq_domain_generate_simple(const struct of_device_id *match, | 182 | static inline void irq_domain_generate_simple(const struct of_device_id *match, |
183 | u64 phys_base, unsigned int irq_start) { } | 183 | u64 phys_base, unsigned int irq_start) { } |
184 | #endif /* !CONFIG_OF_IRQ */ | 184 | #endif /* !CONFIG_OF_IRQ */ |
185 | #endif /* CONFIG_IRQ_DOMAIN */ | 185 | |
186 | #else /* CONFIG_IRQ_DOMAIN */ | ||
187 | static inline void irq_dispose_mapping(unsigned int virq) { } | ||
188 | #endif /* !CONFIG_IRQ_DOMAIN */ | ||
186 | 189 | ||
187 | #endif /* _LINUX_IRQDOMAIN_H */ | 190 | #endif /* _LINUX_IRQDOMAIN_H */ |