static void interrupt_event_handler(struct work_struct *work);
-static void queue_interrupt_event(struct slot *p_slot, u32 event_type)
+static void pciehp_queue_interrupt_event(struct slot *p_slot, u32 event_type)
{
struct event_info *info;
ctrl_info(ctrl, "Button pressed on Slot(%s)\n", slot_name(p_slot));
event_type = INT_BUTTON_PRESS;
- queue_interrupt_event(p_slot, event_type);
+ pciehp_queue_interrupt_event(p_slot, event_type);
return 0;
}
event_type = INT_SWITCH_CLOSE;
}
- queue_interrupt_event(p_slot, event_type);
+ pciehp_queue_interrupt_event(p_slot, event_type);
return 1;
}
event_type = INT_PRESENCE_OFF;
}
- queue_interrupt_event(p_slot, event_type);
+ pciehp_queue_interrupt_event(p_slot, event_type);
return 1;
}
ctrl_err(ctrl, "Power fault on slot %s\n", slot_name(p_slot));
event_type = INT_POWER_FAULT;
ctrl_info(ctrl, "Power fault bit %x set\n", 0);
- queue_interrupt_event(p_slot, event_type);
+ pciehp_queue_interrupt_event(p_slot, event_type);
return 1;
}
event_type = INT_LINK_DOWN;
}
- queue_interrupt_event(p_slot, event_type);
+ pciehp_queue_interrupt_event(p_slot, event_type);
}
/* The following routines constitute the bulk of the