28 Jan
2013
28 Jan
'13
10:34 a.m.
On Mon, Jan 28, 2013 at 02:44:42PM +0800, Mark Brown wrote:
We'd need to take a copy of it in case we have a system with a mix of both styles.
Yes that would be the right thing to do..
For the same device?
No, not for the same device - just in the system. compr->ops has been set to point to soc_compr_ops which is a static shared by all drivers in the system (unless I've misread what you wrote above).
No you read it right. We need to change a little and yes take a copy of it. That way you can modify the copy locally for your device rather that updating the system while avoiding two defines :)
-- ~Vinod