27 Apr
2010
27 Apr
'10
10:05 p.m.
Grant Likely wrote:
/* Register the platform device for the ASoC fabric driver */
platform_device_register_simple("snd-soc-mpc8610-hpcd", 0, NULL, 0);
Since this is a temporary measure, this device registration is probably best put into the .probe() hook of the i2s driver. That will keep everything contained in the same place until we can hammer out a reasonable binding.
This part is not temporary, I think. The fabric driver will always be a standard platform driver, not an OF driver, because there are no DT nodes that it can probe against. BenH is suggestion that maybe we can create one, but I'm not sure that's really the best approach.
--
Timur Tabi
Linux kernel developer at Freescale