Timur Tabi
2011-Jul-19 20:45 UTC
[PATCH] 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. Signed-off-by: Timur Tabi <timur at freescale.com> --- drivers/virt/fsl_hypervisor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/virt/fsl_hypervisor.c b/drivers/virt/fsl_hypervisor.c index 1d3b8eb..3d91621 100644 --- a/drivers/virt/fsl_hypervisor.c +++ b/drivers/virt/fsl_hypervisor.c @@ -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> -- 1.7.3.4
Kumar Gala
2011-Jul-22 14:29 UTC
[PATCH] drivers/virt: add missing linux/interrupt.h to fsl_hypervisor.c
On Jul 19, 2011, at 3:45 PM, Timur Tabi wrote:> 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. > > Signed-off-by: Timur Tabi <timur at freescale.com> > --- > drivers/virt/fsl_hypervisor.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-)applied to next - k