Commit 18edf451 authored by Seungwon Jeon's avatar Seungwon Jeon Committed by Bjorn Helgaas

PCI: designware: Add header guards

Add header guards to prevent redundant inclusion.
Signed-off-by: default avatarSeungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent f8db3c90
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#ifndef _PCIE_DESIGNWARE_H
#define _PCIE_DESIGNWARE_H
struct pcie_port_info { struct pcie_port_info {
u32 cfg0_size; u32 cfg0_size;
u32 cfg1_size; u32 cfg1_size;
...@@ -77,3 +80,5 @@ int dw_pcie_host_init(struct pcie_port *pp); ...@@ -77,3 +80,5 @@ int dw_pcie_host_init(struct pcie_port *pp);
int dw_pcie_setup(int nr, struct pci_sys_data *sys); 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); 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); int dw_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
#endif /* _PCIE_DESIGNWARE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment