22 Oct
2013
22 Oct
'13
6:41 p.m.
On 10/22/2013 03:39 PM, Mark Brown wrote:
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.
I see. To be honest the whole non DT part looks pretty hairy to me too, but I can not clean it up because I do not have access to the relevant HW.
Would it look better to you if I would use module_platform_driver() macro inside #ifdef CONFIG_OF and put the module_init() and module_exit() into #else branch?
Best regards, Jyri