Commit b3bde75d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI Hotplug: fix compiler warnings in pciehp driver.

parent 2e17cc3a
......@@ -1017,7 +1017,7 @@ static irqreturn_t pcie_isr(int IRQ, void *dev_id, struct pt_regs *regs)
return IRQ_HANDLED;
}
static int hpc_get_max_lnk_speed (struct slot *slot, enum pcie_link_speed *value)
static int hpc_get_max_lnk_speed (struct slot *slot, enum pci_bus_speed *value)
{
struct php_ctlr_state_s *php_ctlr = slot->ctrl->hpc_ctlr_handle;
enum pcie_link_speed lnk_speed;
......@@ -1120,7 +1120,7 @@ static int hpc_get_max_lnk_width (struct slot *slot, enum pcie_link_width *value
return retval;
}
static int hpc_get_cur_lnk_speed (struct slot *slot, enum pcie_link_speed *value)
static int hpc_get_cur_lnk_speed (struct slot *slot, enum pci_bus_speed *value)
{
struct php_ctlr_state_s *php_ctlr = slot->ctrl->hpc_ctlr_handle;
enum pcie_link_speed lnk_speed = PCI_SPEED_UNKNOWN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment