Commit 3cb47d79 authored by Joe Perches's avatar Joe Perches Committed by Ingo Molnar

include/asm-x86/pci_64.h: checkpatch cleanups - formatting only

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 52693542
#ifndef __x8664_PCI_H #ifndef __x8664_PCI_H
#define __x8664_PCI_H #define __x8664_PCI_H
#ifdef __KERNEL__ #ifdef __KERNEL__
#ifdef CONFIG_CALGARY_IOMMU #ifdef CONFIG_CALGARY_IOMMU
static inline void* pci_iommu(struct pci_bus *bus) static inline void *pci_iommu(struct pci_bus *bus)
{ {
struct pci_sysdata *sd = bus->sysdata; struct pci_sysdata *sd = bus->sysdata;
return sd->iommu; return sd->iommu;
...@@ -19,11 +17,10 @@ static inline void set_pci_iommu(struct pci_bus *bus, void *val) ...@@ -19,11 +17,10 @@ static inline void set_pci_iommu(struct pci_bus *bus, void *val)
} }
#endif /* CONFIG_CALGARY_IOMMU */ #endif /* CONFIG_CALGARY_IOMMU */
extern int (*pci_config_read)(int seg, int bus, int dev, int fn,
extern int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value); int reg, int len, u32 *value);
extern int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value); extern int (*pci_config_write)(int seg, int bus, int dev, int fn,
int reg, int len, u32 value);
extern void pci_iommu_alloc(void); extern void pci_iommu_alloc(void);
...@@ -65,5 +62,4 @@ extern void pci_iommu_alloc(void); ...@@ -65,5 +62,4 @@ extern void pci_iommu_alloc(void);
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* __x8664_PCI_H */ #endif /* __x8664_PCI_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