PCI: pciehp: Reduce PCIe slot_ctrl to 16 bits
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Aug 2014 23:18:44 +0000 (17:18 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 13 Sep 2014 02:12:29 +0000 (20:12 -0600)
commitd537a3abb4b7085ebc3ce35e64acbad8ece1eece
treee82a4895aa4e278463775bd53ad82a9e2a3c9022
parent1302fcf0d03e6ea74846c7fee14736306ab2ce4b
PCI: pciehp: Reduce PCIe slot_ctrl to 16 bits

4283c70e91dc ("PCI: pciehp: Make pcie_wait_cmd() self-contained") added
a cache of the most recent command written to the Slot Control register.
This register is only 16 bits wide, but the cache ("slot_ctrl") is 32 bits.

Reduce slot_ctrl to a u16 so it matches the register size.  No functional
change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp.h
drivers/pci/hotplug/pciehp_hpc.c