diff options
Diffstat (limited to 'drivers/pci/hotplug/acpiphp.h')
-rw-r--r-- | drivers/pci/hotplug/acpiphp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h index 1592dbe4f904..b6162be4df40 100644 --- a/drivers/pci/hotplug/acpiphp.h +++ b/drivers/pci/hotplug/acpiphp.h | |||
@@ -77,6 +77,8 @@ struct acpiphp_bridge { | |||
77 | 77 | ||
78 | /* PCI-to-PCI bridge device */ | 78 | /* PCI-to-PCI bridge device */ |
79 | struct pci_dev *pci_dev; | 79 | struct pci_dev *pci_dev; |
80 | |||
81 | bool is_going_away; | ||
80 | }; | 82 | }; |
81 | 83 | ||
82 | 84 | ||
@@ -150,6 +152,7 @@ struct acpiphp_attention_info | |||
150 | /* slot flags */ | 152 | /* slot flags */ |
151 | 153 | ||
152 | #define SLOT_ENABLED (0x00000001) | 154 | #define SLOT_ENABLED (0x00000001) |
155 | #define SLOT_IS_GOING_AWAY (0x00000002) | ||
153 | 156 | ||
154 | /* function flags */ | 157 | /* function flags */ |
155 | 158 | ||
@@ -169,7 +172,7 @@ void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot); | |||
169 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); | 172 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); |
170 | 173 | ||
171 | int acpiphp_enable_slot(struct acpiphp_slot *slot); | 174 | int acpiphp_enable_slot(struct acpiphp_slot *slot); |
172 | int acpiphp_disable_and_eject_slot(struct acpiphp_slot *slot); | 175 | int acpiphp_disable_slot(struct acpiphp_slot *slot); |
173 | u8 acpiphp_get_power_status(struct acpiphp_slot *slot); | 176 | u8 acpiphp_get_power_status(struct acpiphp_slot *slot); |
174 | u8 acpiphp_get_attention_status(struct acpiphp_slot *slot); | 177 | u8 acpiphp_get_attention_status(struct acpiphp_slot *slot); |
175 | u8 acpiphp_get_latch_status(struct acpiphp_slot *slot); | 178 | u8 acpiphp_get_latch_status(struct acpiphp_slot *slot); |