From: Jeff Garzik <jeff@garzik.org>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rip some includes from linux/interrupt.h
Date: Fri, 27 Jul 2007 09:34:41 -0400 [thread overview]
Message-ID: <46A9F471.1020504@garzik.org> (raw)
In-Reply-To: <20070727132433.GB27237@ftp.linux.org.uk>
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
prev parent reply other threads:[~2007-07-27 13:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 13:24 [PATCH] rip some includes from linux/interrupt.h Al Viro
2007-07-27 13:34 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46A9F471.1020504@garzik.org \
--to=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=viro@ftp.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.