summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/irq.h6
-rw-r--r--kernel/irq/msi.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 8badf34baf0f..33da579d727c 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -461,12 +461,6 @@ extern int irq_chip_set_affinity_parent(struct irq_data *data,
bool force);
#endif
-static inline void irq_chip_write_msi_msg(struct irq_data *data,
- struct msi_msg *msg)
-{
- data->chip->irq_write_msi_msg(data, msg);
-}
-
/* Handling of unhandled and spurious interrupts: */
extern void note_interrupt(unsigned int irq, struct irq_desc *desc,
irqreturn_t action_ret);
diff --git a/kernel/irq/msi.c b/kernel/irq/msi.c
index f477a2f8ce56..3e18163f336f 100644
--- a/kernel/irq/msi.c
+++ b/kernel/irq/msi.c
@@ -32,6 +32,12 @@ void get_cached_msi_msg(unsigned int irq, struct msi_msg *msg)
EXPORT_SYMBOL_GPL(get_cached_msi_msg);
#ifdef CONFIG_GENERIC_MSI_IRQ_DOMAIN
+static inline void irq_chip_write_msi_msg(struct irq_data *data,
+ struct msi_msg *msg)
+{
+ data->chip->irq_write_msi_msg(data, msg);
+}
+
/**
* msi_domain_set_affinity - Generic affinity setter function for MSI domains
* @irq_data: The irq data associated to the interrupt