* [PATCH] rip some includes from linux/interrupt.h
@ 2007-07-27 13:24 Al Viro
2007-07-27 13:34 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2007-07-27 13:24 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 0a3c2eb..5523f19 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -11,8 +11,6 @@
#include <linux/hardirq.h>
#include <linux/sched.h>
#include <linux/irqflags.h>
-#include <linux/bottom_half.h>
-#include <linux/device.h>
#include <asm/atomic.h>
#include <asm/ptrace.h>
#include <asm/system.h>
@@ -97,6 +95,8 @@ extern int __must_check request_irq(unsigned int, irq_handler_t handler,
unsigned long, const char *, void *);
extern void free_irq(unsigned int, void *);
+struct device;
+
extern int __must_check devm_request_irq(struct device *dev, unsigned int irq,
irq_handler_t handler, unsigned long irqflags,
const char *devname, void *dev_id);
diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c
index d8ee241..6d9204f 100644
--- a/kernel/irq/devres.c
+++ b/kernel/irq/devres.c
@@ -1,5 +1,6 @@
#include <linux/module.h>
#include <linux/interrupt.h>
+#include <linux/device.h>
/*
* Device resource management aware IRQ request/free implementation.
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rip some includes from linux/interrupt.h
2007-07-27 13:24 [PATCH] rip some includes from linux/interrupt.h Al Viro
@ 2007-07-27 13:34 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-27 13:34 UTC (permalink / raw)
To: Al Viro; +Cc: Linus Torvalds, linux-kernel
Al Viro wrote:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
> index 0a3c2eb..5523f19 100644
> --- a/include/linux/interrupt.h
> +++ b/include/linux/interrupt.h
> @@ -11,8 +11,6 @@
> #include <linux/hardirq.h>
> #include <linux/sched.h>
> #include <linux/irqflags.h>
> -#include <linux/bottom_half.h>
> -#include <linux/device.h>
> #include <asm/atomic.h>
> #include <asm/ptrace.h>
> #include <asm/system.h>
> @@ -97,6 +95,8 @@ extern int __must_check request_irq(unsigned int, irq_handler_t handler,
> unsigned long, const char *, void *);
> extern void free_irq(unsigned int, void *);
>
> +struct device;
> +
> extern int __must_check devm_request_irq(struct device *dev, unsigned int irq,
> irq_handler_t handler, unsigned long irqflags,
> const char *devname, void *dev_id);
> diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c
> index d8ee241..6d9204f 100644
> --- a/kernel/irq/devres.c
> +++ b/kernel/irq/devres.c
> @@ -1,5 +1,6 @@
> #include <linux/module.h>
> #include <linux/interrupt.h>
> +#include <linux/device.h>
ACK
Thanks for the devres.c patch, that was on my TODO list. Caught that
when I backported SATA into Red Hat's kernel.
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-27 13:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-27 13:24 [PATCH] rip some includes from linux/interrupt.h Al Viro
2007-07-27 13:34 ` Jeff Garzik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.