]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: pciehp: Use symbolic constants for Slot Control fields
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 14 Dec 2013 20:06:53 +0000 (13:06 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 16 Dec 2013 01:00:00 +0000 (18:00 -0700)
commite7b4f0d7841b188423b641cab71d20b1a05234e9
tree4bce89fc568ce7ed97509f4126015dff511c8feb
parentdf72648c4d61d6d0ce033c0467a9fabec670fe46
PCI: pciehp: Use symbolic constants for Slot Control fields

Add symbolic constants for the PCIe Slot Control indicator and power
control fields defined by spec and use them instead of open-coded hex
constants.

No functional change.

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