diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2008-06-02 12:07:46 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-06-10 13:59:54 -0400 |
commit | d8b23e8ffb567758fc6074e97210ddb42114827c (patch) | |
tree | 52bdbf2078c69ce843f5fa075f8d65081f429d03 /drivers/pci | |
parent | ac9c052d10d8d6f46a30cb46c0d6d753997c299f (diff) |
pciehp: fixes typo in dbg_ctrl() in pciehp_hpc.c
Fixup a typo in dbg_ctrl(); it was fetching SLOTSTATUS twice.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index a48021d85f22..eeb517b1b63d 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -1086,7 +1086,7 @@ static inline void dbg_ctrl(struct controller *ctrl) | |||
1086 | dbg(" Comamnd Completed : %3s\n", NO_CMD_CMPL(ctrl)? "no" : "yes"); | 1086 | dbg(" Comamnd Completed : %3s\n", NO_CMD_CMPL(ctrl)? "no" : "yes"); |
1087 | pciehp_readw(ctrl, SLOTSTATUS, ®16); | 1087 | pciehp_readw(ctrl, SLOTSTATUS, ®16); |
1088 | dbg("Slot Status : 0x%04x\n", reg16); | 1088 | dbg("Slot Status : 0x%04x\n", reg16); |
1089 | pciehp_readw(ctrl, SLOTSTATUS, ®16); | 1089 | pciehp_readw(ctrl, SLOTCTRL, ®16); |
1090 | dbg("Slot Control : 0x%04x\n", reg16); | 1090 | dbg("Slot Control : 0x%04x\n", reg16); |
1091 | } | 1091 | } |
1092 | 1092 | ||