If I remember right when this happened to me the code didn't actually distinguish between which of the two camshaft sensors it was. There's one right on the vanos, and then there's a second one buried in behind the airbox on the driver's side of the engine. I just replaced both of them and the light went away.
Neil
Neil