Offer only small amounts and offer a source of water, just in case a bird wants to get a beak-cleaning drink. Sharp-shinned and Cooper's hawks, the two most common backyard birds of prey, are natural predators on songbirds and will make a pass at the birds at a busy feeder. Birds of prey, like nearly all wild bird species, are protected by federal and state wildlife laws. There's a woodpecker ruining my siding. Your woodpecker, like the hawks in the previous question, are just doing what comes naturally.
Woodpeckers drum, drill, and excavate in wood for many reasons.
Drumming is done to announce a bird's presence both as a defender of a given territory and as a potential mate. But drumming is done to make noise, not holes. Scare the bird away regularly by startling it. Hang up something to discourage or scare it, such as sheet metal, fencing, aluminum pans or foil, rubber snakes, plastic owls, and so on. Erect a woodpecker nest box over the damaged area.