A recording head includes a magnetic write pole having an end positioned
adjacent to an air bearing surface, a first waveguide having an end
positioned adjacent to the air bearing surface, a laser, and a coupler
for coupling light from the laser to the waveguide. The coupler can
include a grating positioned in or adjacent to a lasing cavity of the
laser.