You won’t read it in the NYT Review of Books or the Journal of Philosophy, but… Harry Potter is a compatibilist! I don’t think there are any significant spoilers in the passage I’ll quote, but if you are too worried about spoilers and haven’t read the latest Harry Potter book yet, then Do Not
Here’s the relevant passage –a dialogue between Dumbledore and Harry:
“But Harry, never forget that what the prophecy says is only significant because Voldemort made it so. I told you this at the end of last year. Voldemort singled you out as the person who would be most dangerous to him –and in doing so, he made you the person who would be most dangerous to him!”
“But it comes to the same— ”
“No, it doesn’t!” said Dumbledore, sounding impatient now. (…) “If Voldemort had never heard of the prophecy, would it have been fulfilled? Would it have meant anything? Of course not! Do you think every prophecy in the Hall of Prophecy has been fulfilled?”
“But,” said Harry, bewildered, “but last year, you said one of us would have to kill the other –”
“Harry, Harry, only because Voldemort made a grave error, and acted on Professor Trelawney’s words [i.e., the prophecy]! If Voldemort had never murdered your father, would he have imparted in you a furious desire for revenge? Of course not! (…) Voldemort himself created his worst enemy… (…) He heard the prophecy and he leapt into action, with the result that he (…) handpicked the man most likely to finish him…” (…)
“But, sir,” said Harry, making valiant efforts not to sound argumentative, “it all comes to the same thing, doesn’t it? I’ve got to try and kill him, or—”
“Got to?” said Dumbledore. “Of course you’ve got to! But not because of the prophecy! Because you, yourself, will never rest until you’ve tried! We both know it! Imagine, please, just for a moment, that you had never heard that prophecy! How would you feel about Voldemort now? Think!” (…)
“I’d want him finished,” said Harry quietly. “And I’d want to do it.”
“Of course you would!” cried Dumbledore. “You see, the prophecy does not mean you have to do anything! (…) In other words, you are free to choose your way, quite free to turn your back on the prophecy! But Voldemort continues to set store by the prophecy. He will continue to hunt you… which makes it certain, really, that –”
“That one of us is going to end up killing the other,” said Harry. “Yes.”
But he understood at last what Dumbledore had been trying to tell him. It was, he thought, the difference between being dragged into the arena to face a battle to the death and walking into the arena with your head held high. Some people, perhaps, would say that there was little to choose between the two ways, but Dumbledore knew –and so do I, thought Harry, with a rush of fierce pride, and so did my parents –that there was all the difference in the world.
J. K. Rowling, Harry Potter and the Half-Blood Prince, Ch. 23, p. 512
It sounds like J. K. Rowling has been reading John M. Fischer’s “Frankfurt-style Compatibilism”, right? (Along with, perhaps, R. Moran’s and D. Velleman’s work on self-fulfilling beliefs). Incidentally, I think the prophecy in the Potter book can be construed both as the counterfactual intervener in a Frankfurt counterexample and as a standard self-fulfilling belief.