git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
pci
/
pcie
/
portdrv.h
diff --git
a/drivers/pci/pcie/portdrv.h
b/drivers/pci/pcie/portdrv.h
index
a63bd8f
..
3656e03
100644
(file)
--- a/
drivers/pci/pcie/portdrv.h
+++ b/
drivers/pci/pcie/portdrv.h
@@
-9,6
+9,8
@@
#ifndef _PORTDRV_H_
#define _PORTDRV_H_
#ifndef _PORTDRV_H_
#define _PORTDRV_H_
+#include <linux/compiler.h>
+
#if !defined(PCI_CAP_ID_PME)
#define PCI_CAP_ID_PME 1
#endif
#if !defined(PCI_CAP_ID_PME)
#define PCI_CAP_ID_PME 1
#endif
@@
-29,7
+31,6
@@
struct pcie_port_device_ext {
int interrupt_mode; /* [0:INTx | 1:MSI | 2:MSI-X] */
struct pcie_port_device_ext {
int interrupt_mode; /* [0:INTx | 1:MSI | 2:MSI-X] */
- unsigned int saved_msi_config_space[5];
};
extern struct bus_type pcie_port_bus_type;
};
extern struct bus_type pcie_port_bus_type;
@@
-40,7
+41,7
@@
extern int pcie_port_device_suspend(struct pci_dev *dev, pm_message_t state);
extern int pcie_port_device_resume(struct pci_dev *dev);
#endif
extern void pcie_port_device_remove(struct pci_dev *dev);
extern int pcie_port_device_resume(struct pci_dev *dev);
#endif
extern void pcie_port_device_remove(struct pci_dev *dev);
-extern
void
pcie_port_bus_register(void);
+extern
int __must_check
pcie_port_bus_register(void);
extern void pcie_port_bus_unregister(void);
#endif /* _PORTDRV_H_ */
extern void pcie_port_bus_unregister(void);
#endif /* _PORTDRV_H_ */