diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2013-10-09 11:12:21 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-09 11:12:21 -0400 |
commit | 18edf4512cfa3e3662bdbdfc5f11c2eb20721734 (patch) | |
tree | 582baf8a2fde7234af6bb53e895ba4c78a8411ed /drivers/pci | |
parent | f8db3c9086cd33ee3efc913ade291694f54a57f2 (diff) |
PCI: designware: Add header guards
Add header guards to prevent redundant inclusion.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | 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 faccbbf31907..d87fbaeffe70 100644 --- a/drivers/pci/host/pcie-designware.h +++ b/drivers/pci/host/pcie-designware.h | |||
@@ -11,6 +11,9 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #ifndef _PCIE_DESIGNWARE_H | ||
15 | #define _PCIE_DESIGNWARE_H | ||
16 | |||
14 | struct pcie_port_info { | 17 | struct pcie_port_info { |
15 | u32 cfg0_size; | 18 | u32 cfg0_size; |
16 | u32 cfg1_size; | 19 | u32 cfg1_size; |
@@ -77,3 +80,5 @@ int dw_pcie_host_init(struct pcie_port *pp); | |||
77 | int dw_pcie_setup(int nr, struct pci_sys_data *sys); | 80 | int dw_pcie_setup(int nr, struct pci_sys_data *sys); |
78 | struct pci_bus *dw_pcie_scan_bus(int nr, struct pci_sys_data *sys); | 81 | struct pci_bus *dw_pcie_scan_bus(int nr, struct pci_sys_data *sys); |
79 | int dw_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); | 82 | int dw_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); |
83 | |||
84 | #endif /* _PCIE_DESIGNWARE_H */ | ||