diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-27 13:11:10 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-27 14:50:13 -0400 |
commit | d2ab1fa68c61f01b28ab0859a972c892d81f5d32 (patch) | |
tree | 4e38144c01023a1ff640a3000fe1da94b60abae3 /drivers/mfd/rts5227.c | |
parent | 808e34e2cd6bc74a2311b6a00d12a52e37fb50c0 (diff) |
PCI: Rename PCIe capability definitions to follow convention
All other PCIe capability register fields include "PCI_EXP" + <reg-name> +
<field-name>. This renames PCI_EXP_OBFF_MASK, PCI_EXP_IDO_REQ_EN,
PCI_EXP_LTR_EN, and related fields using the same convention.
No functional change.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com> # for MFD driver
Diffstat (limited to 'drivers/mfd/rts5227.c')
-rw-r--r-- | drivers/mfd/rts5227.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/rts5227.c b/drivers/mfd/rts5227.c index fc831dcb1480..164b7faa70c9 100644 --- a/drivers/mfd/rts5227.c +++ b/drivers/mfd/rts5227.c | |||
@@ -44,7 +44,7 @@ static int rts5227_extra_init_hw(struct rtsx_pcr *pcr) | |||
44 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, OLT_LED_CTL, 0x0F, 0x02); | 44 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, OLT_LED_CTL, 0x0F, 0x02); |
45 | /* Configure LTR */ | 45 | /* Configure LTR */ |
46 | pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); | 46 | pcie_capability_read_word(pcr->pci, PCI_EXP_DEVCTL2, &cap); |
47 | if (cap & PCI_EXP_LTR_EN) | 47 | if (cap & PCI_EXP_DEVCTL2_LTR_EN) |
48 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, LTR_CTL, 0xFF, 0xA3); | 48 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, LTR_CTL, 0xFF, 0xA3); |
49 | /* Configure OBFF */ | 49 | /* Configure OBFF */ |
50 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, OBFF_CFG, 0x03, 0x03); | 50 | rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, OBFF_CFG, 0x03, 0x03); |