aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r--drivers/pci/hotplug/rpaphp.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index 064a0d66e3c5..61d94d1e29cb 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -30,10 +30,6 @@
30#include <linux/pci.h> 30#include <linux/pci.h>
31#include "pci_hotplug.h" 31#include "pci_hotplug.h"
32 32
33#define PHB 2
34#define HOTPLUG 1
35#define EMBEDDED 0
36
37#define DR_INDICATOR 9002 33#define DR_INDICATOR 9002
38#define DR_ENTITY_SENSE 9003 34#define DR_ENTITY_SENSE 9003
39 35
@@ -79,7 +75,6 @@ struct slot {
79 u32 power_domain; 75 u32 power_domain;
80 char *name; 76 char *name;
81 char *location; 77 char *location;
82 u8 removable;
83 struct device_node *dn; 78 struct device_node *dn;
84 struct pci_bus *bus; 79 struct pci_bus *bus;
85 struct list_head *pci_devs; 80 struct list_head *pci_devs;
@@ -93,6 +88,7 @@ extern int num_slots;
93/* function prototypes */ 88/* function prototypes */
94 89
95/* rpaphp_pci.c */ 90/* rpaphp_pci.c */
91extern struct pci_bus *rpaphp_find_pci_bus(struct device_node *dn);
96extern int rpaphp_claim_resource(struct pci_dev *dev, int resource); 92extern int rpaphp_claim_resource(struct pci_dev *dev, int resource);
97extern int rpaphp_enable_pci_slot(struct slot *slot); 93extern int rpaphp_enable_pci_slot(struct slot *slot);
98extern int register_pci_slot(struct slot *slot); 94extern int register_pci_slot(struct slot *slot);