]> err.no Git - linux-2.6/blobdiff - drivers/pci/hotplug/pciehp_hpc.c
pciehp: fixes typo in dbg_ctrl() in pciehp_hpc.c
[linux-2.6] / drivers / pci / hotplug / pciehp_hpc.c
index a48021d85f22910477d19f79ca42278ebf955b1d..eeb517b1b63d4a0707816a65992674737acde2cb 100644 (file)
@@ -1086,7 +1086,7 @@ static inline void dbg_ctrl(struct controller *ctrl)
        dbg("  Comamnd Completed    : %3s\n", NO_CMD_CMPL(ctrl)? "no" : "yes");
        pciehp_readw(ctrl, SLOTSTATUS, &reg16);
        dbg("Slot Status            : 0x%04x\n", reg16);
-       pciehp_readw(ctrl, SLOTSTATUS, &reg16);
+       pciehp_readw(ctrl, SLOTCTRL, &reg16);
        dbg("Slot Control           : 0x%04x\n", reg16);
 }