platform匹配问题,没有对应的平台设备?

大家好:
我用的内核版本是linux-3.4.96,在sound/soc/samsung/s3c24xx_simtec_hermes.c这个文件里有一下代码:
static struct platform_driver simtec_audio_hermes_platdrv = {
.driver = {
.owner = THIS_MODULE,
.name = "s3c24xx-simtec-hermes-snd",
.pm = simtec_audio_pm,
},
.probe = simtec_audio_hermes_probe,
.remove = __devexit_p(simtec_audio_remove),
};

如果想要调用simtec_audio_hermes_probe,这应该会有相应的平台设备来匹配,但是我搜索原码却找不到s3c24xx-simtec-hermes-snd这个平台设备,我对此比较迷惑,求给个详细的回答,非常感谢!

你这个Linux-3.x的内核应该是用了devicetree来管理设备,而不再像之前用platform device了。
你可以找找dts以及device tree的资料来看看。