summaryrefslogtreecommitdiff
path: root/drivers/staging/mt7621-pci/pci-mt7621.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2019-06-19 09:44:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-20 14:45:49 +0200
commitfdd228cd6d9074b47854af31d224c4241a277618 (patch)
tree653dce518642f6bf2f944ddaceb224923b7faecc /drivers/staging/mt7621-pci/pci-mt7621.c
parentc2e1e0f30b1e77351b73b4f7228bf3611691ef09 (diff)
staging: mt7621-pci: fix two messages in driver code
There are two messages in driver code which are not correct. Fix both of them to clarify boot runs. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/mt7621-pci/pci-mt7621.c')
-rw-r--r--drivers/staging/mt7621-pci/pci-mt7621.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/mt7621-pci/pci-mt7621.c b/drivers/staging/mt7621-pci/pci-mt7621.c
index 03d919a94552..7ba6ec93ac0f 100644
--- a/drivers/staging/mt7621-pci/pci-mt7621.c
+++ b/drivers/staging/mt7621-pci/pci-mt7621.c
@@ -394,7 +394,7 @@ static int mt7621_pcie_init_port(struct mt7621_pcie_port *port)
mt7621_reset_port(port);
val = read_config(pcie, slot, PCIE_FTS_NUM);
- dev_info(dev, "Port %d N_FTS = %x\n", (unsigned int)val, slot);
+ dev_info(dev, "Port %d N_FTS = %x\n", slot, (unsigned int)val);
err = phy_init(port->phy);
if (err) {
@@ -511,7 +511,7 @@ static void mt7621_pcie_enable_ports(struct mt7621_pcie *pcie)
port->slot);
continue;
}
- dev_info(dev, "PCIE%d enabled\n", slot);
+ dev_info(dev, "PCIE%d enabled\n", num_slots_enabled);
num_slots_enabled++;
}
}