The US Senate has voted to end a partial 40-day government shutdown, approving funding for the Department of Homeland Security (DHS) - with the exception of immigration enforcement.

The almost six-week funding lapse has seen knock-on disruption at US airports. Security workers' salaries are paid by the DHS, and hundreds have quit since the shutdown began.

Democrats had refused to agree a funding deal without reforms to the US Immigration and Customs Enforcement (ICE) agency, but the Senate reached unanimous agreement in the early hours of Friday after stripping ICE and parts of border protection out of the measure.

The funding measures now face a vote in the House of Representatives.

It is hoped that package can bring an end to widespread disruption at airports across the US, where travellers have faced hours-long queues due to a shortage of Transportation Security Administration (TSA) officers at security checkpoints.