From: Chen Gang <gang.chen.5i5j@gmail.com>
To: Liqin Chen <liqin.linux@gmail.com>,
Lennox Wu <lennox.wu@gmail.com>,
peterz@infradead.org, mingo@kernel.org,
tim.c.chen@linux.intel.com,
Stephen Rothwell <sfr@canb.auug.org.au>,
David Miller <davem@davemloft.net>,
lauraa@codeaurora.org
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] arch/score/include/asm/pci.h: Use generic 'pci.h' instead of the original one
Date: Fri, 04 Jul 2014 14:40:31 +0800 [thread overview]
Message-ID: <53B64C5F.5090200@gmail.com> (raw)
Original 'pci.h' is empty, and some modules in allmodconfig may need
contents which can be found in generic 'pci.h', so use generic one
instead of original.
The related error (allmodconfig under score):
CC [M] drivers/scsi/scsi_lib.o
drivers/scsi/scsi_lib.c: In function 'scsi_calculate_bounce_limit':
drivers/scsi/scsi_lib.c:1615:7: error: 'PCI_DMA_BUS_IS_PHYS' undeclared (first use in this function)
if (!PCI_DMA_BUS_IS_PHYS)
^
drivers/scsi/scsi_lib.c:1615:7: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [drivers/scsi/scsi_lib.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
---
arch/score/include/asm/Kbuild | 1 +
arch/score/include/asm/pci.h | 4 ----
2 files changed, 1 insertion(+), 4 deletions(-)
delete mode 100644 arch/score/include/asm/pci.h
diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild
index aad2091..bfb31569 100644
--- a/arch/score/include/asm/Kbuild
+++ b/arch/score/include/asm/Kbuild
@@ -7,6 +7,7 @@ generic-y += clkdev.h
generic-y += cputime.h
generic-y += hash.h
generic-y += mcs_spinlock.h
+generic-y += pci.h
generic-y += preempt.h
generic-y += scatterlist.h
generic-y += trace_clock.h
diff --git a/arch/score/include/asm/pci.h b/arch/score/include/asm/pci.h
deleted file mode 100644
index 3f3cfd8..0000000
--- a/arch/score/include/asm/pci.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#ifndef _ASM_SCORE_PCI_H
-#define _ASM_SCORE_PCI_H
-
-#endif /* _ASM_SCORE_PCI_H */
--
1.9.2.459.g68773ac
reply other threads:[~2014-07-04 6:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=53B64C5F.5090200@gmail.com \
--to=gang.chen.5i5j@gmail.com \
--cc=davem@davemloft.net \
--cc=lauraa@codeaurora.org \
--cc=lennox.wu@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liqin.linux@gmail.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=sfr@canb.auug.org.au \
--cc=tim.c.chen@linux.intel.com \
/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;
as well as URLs for NNTP newsgroup(s).