diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-27 14:24:33 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-28 19:42:22 -0700 |
commit | 0af3678f7c5872836d1cc8d7c659abd62c3c5ae7 (patch) | |
tree | d74ee34e24b3fc85a9ac66675a4e70cadfe76c58 | |
parent | 2d954d06acbcf9a5f7668a1897850c9b7be6b8f3 (diff) | |
download | blackbird-obmc-linux-0af3678f7c5872836d1cc8d7c659abd62c3c5ae7.tar.gz blackbird-obmc-linux-0af3678f7c5872836d1cc8d7c659abd62c3c5ae7.zip |
rip some includes from linux/interrupt.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/interrupt.h | 4 | ||||
-rw-r--r-- | kernel/irq/devres.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 0a3c2ebf2008..5523f19d88d2 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 d8ee241115f5..6d9204f3a370 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. |