Correct

同名

/ tóngmíng / 
Strokes

Definition

of the same name/homonymous/self-titled (album)

Example

As a Verb

have the same name/title

1
Zhèbù
这部
diànyǐng
电影
shì
是
gēnjù
根据
tóngmíng
同名
xiǎoshuō
小说
gǎibiān
改编
de
的
  
。

This film is based on a novel of the same title.

2
Tā
他
hé
和
wǒ
我
tóngmíng
同名
  
。

He is my namesake.

3
Tóngmíng
同名
yìxìng
异姓

have the same given name but a different family name