|
@@ -9,6 +9,8 @@
|
|
|
#ifndef _PORTDRV_H_
|
|
|
#define _PORTDRV_H_
|
|
|
|
|
|
+#include <linux/compiler.h>
|
|
|
+
|
|
|
#if !defined(PCI_CAP_ID_PME)
|
|
|
#define PCI_CAP_ID_PME 1
|
|
|
#endif
|
|
@@ -39,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_bus_register(void);
|
|
|
+extern int __must_check pcie_port_bus_register(void);
|
|
|
extern void pcie_port_bus_unregister(void);
|
|
|
|
|
|
#endif /* _PORTDRV_H_ */
|