25 Mar
2013
25 Mar
'13
4:11 a.m.
On Thu, Mar 21, 2013 at 11:04:05PM -0600, Stephen Warren wrote:
However, I do see:
./mpc8610_hpcd.c:213: machine_data->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev); ./p1022_ds.c:223: mdata->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev); ./p1022_rdk.c:226: mdata->dai[0].cpu_dai_name = dev_name(&ssi_pdev->dev); ./imx-sgtl5000.c:151: data->dai.cpu_dai_name = dev_name(&ssi_pdev->dev);
That's a bit icky; DT-based systems should use .cpu_of_node, not .cpu_dai_name...
Yea, I'm sending a patch to change imx-sgtl5000 driver. Thanks, Stephen.
Shawn