linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] PCI: designware: add missing header guards
@ 2013-10-05  0:31 Jingoo Han
  2013-10-07 22:40 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2013-10-05  0:31 UTC (permalink / raw)
  To: 'Bjorn Helgaas'
  Cc: linux-pci, 'Seungwon Jeon', 'Jingoo Han'

From: Seungwon Jeon <tgih.jun@samsung.com>

Add missing header guards against the redundant inclusion.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/pci/host/pcie-designware.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h
index faccbbf..d87fbae 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.10.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH V2] PCI: designware: add missing header guards
  2013-10-05  0:31 [PATCH V2] PCI: designware: add missing header guards Jingoo Han
@ 2013-10-07 22:40 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2013-10-07 22:40 UTC (permalink / raw)
  To: Jingoo Han; +Cc: linux-pci@vger.kernel.org, Seungwon Jeon

On Fri, Oct 4, 2013 at 6:31 PM, Jingoo Han <jg1.han@samsung.com> wrote:
> From: Seungwon Jeon <tgih.jun@samsung.com>
>
> Add missing header guards against the redundant inclusion.
>
> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied to my pci/host-designware branch for v3.13, thanks!

Bjorn

> ---
>  drivers/pci/host/pcie-designware.h |    5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/drivers/pci/host/pcie-designware.h b/drivers/pci/host/pcie-designware.h
> index faccbbf..d87fbae 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.10.4
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-07 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-05  0:31 [PATCH V2] PCI: designware: add missing header guards Jingoo Han
2013-10-07 22:40 ` Bjorn Helgaas

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).