The 43-year-old musician and his wife Sofia Wellesley welcomed their first child last year, and the British star has decided to entrust Ed with one of life's biggest responsibilities.
Ed told The Sun newspaper: ''James is like a brother to me, actually I'm not quite sure if I can say this, but I'm going to - he's just made me godfather to his son.
''To be honest, I think he's only done it because he knows I've got a good idea of what sort of person he'd want him to be when he grows up - an absolute lad. We're going to be brothers for life.''
James previously named the late 'Star Wars' actress Carrie Fisher as the godmother of his son, whose name has not been revealed.
The Hollywood star passed away in December last year, and James previously admitted to feeling ''desperately sad'' that his son never got to know her.
He shared: ''She's the most amazing person I know and I'm really desperately sad he won't get to know her but I have many memories, many stories I'll be able to tell him.''
However, James admitted he couldn't share many of his fondest memories of Carrie because they are often x-rated.
Asked if he could share any of the stories, the singer explained: ''I don't know if any of them are safe enough to tell on camera.''
Meanwhile, Ed previously revealed he would happily give up touring if he was to start a family with his girlfriend Cherry Seaborn.
Speaking earlier this year, the 'Shape Of You' hitmaker explained: ''I don't want to be touring when I have kids, I want to be like nipping out every now and then and being able to actually be a father so yeah, I think I would definitely love kids.
''I would definitely love all the kids in the world but I don't want to have them right now.''
Labrinth has teamed up with Sia and Diplo to form a new supergroup: LSD.
The Struts teamed up with Kesha for a red and gold themed music video as part of their collaboration on 'Body Talks'.
Brody Dalle's band dropped their first new music since 2003's 'Coral Fang'.
Sometimes actors are not acting.