diff options
Diffstat (limited to 'drivers/pci/hotplug/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index 979212d5d755..0159960dbadc 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -95,7 +95,6 @@ struct controller { | |||
95 | struct slot *slot; | 95 | struct slot *slot; |
96 | struct hpc_ops *hpc_ops; | 96 | struct hpc_ops *hpc_ops; |
97 | wait_queue_head_t queue; /* sleep & wake process */ | 97 | wait_queue_head_t queue; /* sleep & wake process */ |
98 | u32 first_slot; /* First physical slot number */ /* PCIE only has 1 slot */ | ||
99 | u8 slot_bus; /* Bus where the slots handled by this controller sit */ | 98 | u8 slot_bus; /* Bus where the slots handled by this controller sit */ |
100 | u32 slot_cap; | 99 | u32 slot_cap; |
101 | u8 cap_base; | 100 | u8 cap_base; |
@@ -153,6 +152,7 @@ struct controller { | |||
153 | #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & HP_SUPR_RM_SUP) | 152 | #define HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & HP_SUPR_RM_SUP) |
154 | #define EMI(ctrl) ((ctrl)->slot_cap & EMI_PRSN) | 153 | #define EMI(ctrl) ((ctrl)->slot_cap & EMI_PRSN) |
155 | #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & NO_CMD_CMPL_SUP) | 154 | #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & NO_CMD_CMPL_SUP) |
155 | #define PSN(ctrl) ((ctrl)->slot_cap >> 19) | ||
156 | 156 | ||
157 | extern int pciehp_sysfs_enable_slot(struct slot *slot); | 157 | extern int pciehp_sysfs_enable_slot(struct slot *slot); |
158 | extern int pciehp_sysfs_disable_slot(struct slot *slot); | 158 | extern int pciehp_sysfs_disable_slot(struct slot *slot); |