aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/hotplug/pciehp_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pciehp_pci.c b/drivers/pci/hotplug/pciehp_pci.c
index 2fce726758d2..a4031dfe938e 100644
--- a/drivers/pci/hotplug/pciehp_pci.c
+++ b/drivers/pci/hotplug/pciehp_pci.c
@@ -137,7 +137,7 @@ int pciehp_unconfigure_device(struct slot *p_slot)
137 "Cannot remove display device %s\n", 137 "Cannot remove display device %s\n",
138 pci_name(temp)); 138 pci_name(temp));
139 pci_dev_put(temp); 139 pci_dev_put(temp);
140 rc = EINVAL; 140 rc = -EINVAL;
141 break; 141 break;
142 } 142 }
143 } 143 }