Put an end to providing bed in school (6)
I believe the answer is:
scotch
'put an end to' is the definition.
(I've seen this before)
'bed in school' is the wordplay.
'bed' becomes 'cot' (cot is a type of bed).
'in' means one lot of letters goes inside another.
'school' becomes 'sch' (abbreviation).
'cot' placed inside 'sch' is 'SCOTCH'.
'providing' acts as a link.
(Other definitions for scotch that I've seen before include "Decisively put an end to" , "Put an end to - in Caledonia?" , "strong drink!" , "Put a stop to - whisky" , "Put an end to, say rumour" .)