Stefan Roese wrote:
quoted
Otherwise, there are two options:
1. duplicate the driver like you suggested
2. make the same driver both a ocp and of_platform, depending on
the configuration options.
Since most of the driver is untouched by your patch, I'd lean to
the second option, but of course, that is more work for you.
I did send a patch for such a combined driver a few months ago:
http://patchwork.ozlabs.org/linuxppc/patch?person=305&id=14181
There were still same open issues and I didn't find the time till now to
address them. It would be great if you could take care of these issues and
submit a reworked version.
I can look into this. Thanks!
Cheers,
Sean