From: Seungwon Jeon <tgih.jun@samsung.com>
To: linux-pci@vger.kernel.org
Cc: 'Jingoo Han' <jg1.han@samsung.com>,
'Bjorn Helgaas' <bhelgaas@google.com>
Subject: [PATCH] PCI: designware: add missing header guards
Date: Fri, 04 Oct 2013 17:51:45 +0900 [thread overview]
Message-ID: <002001cec0de$f4cd48d0$de67da70$%jun@samsung.com> (raw)
In-Reply-To:
Added missing header guards against the redundant inclusion.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
---
drivers/pci/host/pcie-designware.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h
index faccbbf..0b685b5 100644
--- a/drivers/pci/host/pcie-designware.h
+++ b/drivers/pci/host/pcie-designware.h
@@ -11,6 +11,9 @@
* published by the Free Software Foundation.
*/
+#ifndef _PCIE_DESIGNWARE_H_
+#define _PCIE_DESIGNWARE_H_
+
struct pcie_port_info {
u32 cfg0_size;
u32 cfg1_size;
@@ -77,3 +80,5 @@ int dw_pcie_host_init(struct pcie_port *pp);
int dw_pcie_setup(int nr, struct pci_sys_data *sys);
struct pci_bus *dw_pcie_scan_bus(int nr, struct pci_sys_data *sys);
int dw_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
+
+#endif /* _PCIE_DESIGNWARE_H_ */
--
1.7.0.4
next prev parent reply other threads:[~2013-10-04 8:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 11:53 [PATCH 2/3] PCI: exynos: add wrapped I/O access functions Seungwon Jeon
2013-08-29 8:08 ` Jingoo Han
2013-08-29 12:35 ` [PATCH v2 " Seungwon Jeon
2013-08-29 20:09 ` Bjorn Helgaas
2013-10-04 8:51 ` Seungwon Jeon [this message]
2013-10-05 0:25 ` [PATCH] PCI: designware: add missing header guards Jingoo Han
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='002001cec0de$f4cd48d0$de67da70$%jun@samsung.com' \
--to=tgih.jun@samsung.com \
--cc=bhelgaas@google.com \
--cc=jg1.han@samsung.com \
--cc=linux-pci@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).