From: David Howells <dhowells@redhat.com>
To: torvalds@linux-foundation.org
Cc: linux-am33-list@redhat.com, linux-kernel@vger.kernel.org,
Ken Cox <jkc@redhat.com>
Subject: [PATCH 3/4] MN10300: ASB2305's PCI code needs the definition of XIRQ1
Date: Tue, 28 May 2013 15:34:25 +0100 [thread overview]
Message-ID: <20130528143425.9790.81062.stgit@warthog.procyon.org.uk> (raw)
In-Reply-To: <20130528143409.9790.41260.stgit@warthog.procyon.org.uk>
The code for PCI in the ASB2305 needs the definition of XIRQ1 from proc/irq.h
otherwise the following error appears:
arch/mn10300/unit-asb2305/pci.c: In function 'unit_pci_init':
arch/mn10300/unit-asb2305/pci.c:481: error: 'XIRQ1' undeclared (first use in this function)
arch/mn10300/unit-asb2305/pci.c:481: error: (Each undeclared identifier is reported only once
arch/mn10300/unit-asb2305/pci.c:481: error: for each function it appears in.)
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ken Cox <jkc@redhat.com>
---
arch/mn10300/unit-asb2305/pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c
index 6dce9fc..8ffb80f 100644
--- a/arch/mn10300/unit-asb2305/pci.c
+++ b/arch/mn10300/unit-asb2305/pci.c
@@ -18,6 +18,7 @@
#include <linux/ioport.h>
#include <linux/delay.h>
#include <asm/io.h>
+#include <asm/irq.h>
#include "pci-asb2305.h"
unsigned int pci_probe = 1;
next prev parent reply other threads:[~2013-05-28 14:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 14:34 [PATCH 1/4] MN10300: Fix ret_from_kernel_thread David Howells
2013-05-28 14:34 ` [PATCH 2/4] MN10300: Enable IRQs more in system call exit work path David Howells
2013-05-28 14:34 ` David Howells [this message]
2013-05-28 14:34 ` [PATCH 4/4] MN10300: Need pci_iomap() and __pci_ioport_map() defining David Howells
2013-05-28 17:06 ` [PATCH 1/4] MN10300: Fix ret_from_kernel_thread Linus Torvalds
2013-05-28 18:56 ` David Howells
-- strict thread matches above, loose matches on Subject: below --
2013-05-28 14:31 David Howells
2013-05-28 14:31 ` [PATCH 3/4] MN10300: ASB2305's PCI code needs the definition of XIRQ1 David Howells
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=20130528143425.9790.81062.stgit@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=jkc@redhat.com \
--cc=linux-am33-list@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®