From: Eric Miao Date: Tue, 3 Mar 2009 01:41:00 +0000 (+0800) Subject: ASoC: make ops a pointer in 'struct snd_soc_dai' X-Git-Tag: v2.6.30-rc1~8^2~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6335d05548eece40092000aa91b64a50310d69d5;p=pandora-kernel.git ASoC: make ops a pointer in 'struct snd_soc_dai' Considering the fact that most cpu_dai or codec_dai are using a same 'snd_soc_dai_ops' for several similar interfaces, 'ops' would be better made a pointer instead, to make sharing easier and code a bit cleaner. The patch below is rather preliminary since the asoc tree is being actively developed, and this touches almost every piece of code, (and possibly many others in development need to be changed as well). Building of all codecs are OK, yet to every SoC, I didn't test that. Signed-off-by: Eric Miao Acked-by: Timur Tabi Signed-off-by: Mark Brown --- Reading git-diff-tree failed