diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
| -rw-r--r-- | drivers/pci/hotplug/shpchp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index d876e4b3c6a9..61529097464d 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
| @@ -216,13 +216,13 @@ struct ctrl_reg { | |||
| 216 | 216 | ||
| 217 | /* offsets to the controller registers based on the above structure layout */ | 217 | /* offsets to the controller registers based on the above structure layout */ |
| 218 | enum ctrl_offsets { | 218 | enum ctrl_offsets { |
| 219 | BASE_OFFSET = offsetof(struct ctrl_reg, base_offset), | 219 | BASE_OFFSET = offsetof(struct ctrl_reg, base_offset), |
| 220 | SLOT_AVAIL1 = offsetof(struct ctrl_reg, slot_avail1), | 220 | SLOT_AVAIL1 = offsetof(struct ctrl_reg, slot_avail1), |
| 221 | SLOT_AVAIL2 = offsetof(struct ctrl_reg, slot_avail2), | 221 | SLOT_AVAIL2 = offsetof(struct ctrl_reg, slot_avail2), |
| 222 | SLOT_CONFIG = offsetof(struct ctrl_reg, slot_config), | 222 | SLOT_CONFIG = offsetof(struct ctrl_reg, slot_config), |
| 223 | SEC_BUS_CONFIG = offsetof(struct ctrl_reg, sec_bus_config), | 223 | SEC_BUS_CONFIG = offsetof(struct ctrl_reg, sec_bus_config), |
| 224 | MSI_CTRL = offsetof(struct ctrl_reg, msi_ctrl), | 224 | MSI_CTRL = offsetof(struct ctrl_reg, msi_ctrl), |
| 225 | PROG_INTERFACE = offsetof(struct ctrl_reg, prog_interface), | 225 | PROG_INTERFACE = offsetof(struct ctrl_reg, prog_interface), |
| 226 | CMD = offsetof(struct ctrl_reg, cmd), | 226 | CMD = offsetof(struct ctrl_reg, cmd), |
| 227 | CMD_STATUS = offsetof(struct ctrl_reg, cmd_status), | 227 | CMD_STATUS = offsetof(struct ctrl_reg, cmd_status), |
| 228 | INTR_LOC = offsetof(struct ctrl_reg, intr_loc), | 228 | INTR_LOC = offsetof(struct ctrl_reg, intr_loc), |
