On Tue, Oct 22, 2013 at 03:26:11PM +0300, Jyri Sarha wrote: > On 10/22/2013 02:01 PM, Mark Brown wrote: > >>+ /* > >>+ * If dtb is there, the devices will be created dynamically. > >>+ * Only register platfrom driver structure. > >>+ */ > >>+ if (of_have_populated_dt()) > >>+ return platform_driver_register(&davinci_evm_driver); > >Why not register the driver unconditionally? > I am just trying touch the legacy davinci audio support as little as > possible. Would registering the driver in non DT mode do some good? It would look a good deal less odd which is useful in itself; the best thing would be if they could both use the same driver which uses both platform and DT data.
Attachment:
signature.asc
Description: Digital signature