O'Connor is expected to go straight into the Burnley squad for their game against QPR this weekend.
"He brings a lot of energy to the team and is a great player," Burnley boss Steve Cotterill siad.
"He will give 100% every time and there won't be a player who outruns him all season. I would sign him permanently tomorrow if I could."