Skip to contentSkip to conversation

drivers/virt: add missing linux/interrupt.h to fsl_hypervisor.c

PATCH Applied Timur Tabi 2 participants 2 messages Jul 19, 2011 – Jul 22, 2011 virtio core

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH 1/1 drivers/virt: add missing linux/interrupt.h to fsl_hypervisor.c

fsl_hypervisor.c calls request_irq() but does not include linux/interrupt.h. Normally, the driver will compile without error, but it can fail on some configurations.

---
 drivers/virt/fsl_hypervisor.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/virt/fsl_hypervisor.c +1 -0
index 1d3b8eb..3d91621 100644
@@ -37,6 +37,7 @@
 #include <linux/reboot.h>
 #include <linux/uaccess.h>
 #include <linux/notifier.h>
+#include <linux/interrupt.h>
 
 #include <linux/io.h>
 #include <asm/fsl_hcalls.h>
Signature · 1 line
1.7.3.4
Applied
#1 lore raw
Quoted 8 lines · Timur Tabi

fsl_hypervisor.c calls request_irq() but does not include linux/interrupt.h. Normally, the driver will compile without error, but it can fail on some configurations.

---
drivers/virt/fsl_hypervisor.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)

applied to next

- k