aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pcie/portdrv_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c
index 2f589a54f9b..75915b30ad1 100644
--- a/drivers/pci/pcie/portdrv_core.c
+++ b/drivers/pci/pcie/portdrv_core.c
@@ -249,7 +249,7 @@ static int get_port_device_capability(struct pci_dev *dev)
249 int services = 0, pos; 249 int services = 0, pos;
250 u16 reg16; 250 u16 reg16;
251 u32 reg32; 251 u32 reg32;
252 int cap_mask; 252 int cap_mask = 0;
253 int err; 253 int err;
254 254
255 if (pcie_ports_disabled) 255 if (pcie_ports_disabled)