The Hollywood Reporter said Hanks will play Jack, a by-the-book police detective who finds himself partnered with Dan, an alcoholic veteran cop on the edge.
Hanks, the son of Oscar-winning actor Tom Hanks, has appeared in the films "Orange County," "King Kong" and "The House Bunny." He also starred on the television series "Roswell" and had a recurring role on "Mad Men."
Whitford is best known for his work on TV's "The West Wing" and "Studio 60 on the Sunset Strip."
NBC reportedly holds celebs hostage to Jimmy Fallon's show
Ray Liotta sues skin care company over use of likeness