From: Mark Brown Date: Wed, 26 Jun 2013 11:45:59 +0000 (+0100) Subject: ASoC: ac97: Support multi-platform AC'97 X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b047e1cce8fe32475ab61846772943a5e4c0a908;p=pandora-kernel.git ASoC: ac97: Support multi-platform AC'97 Currently we can only have a single platform built in with AC'97 support due to the use of a global variable to provide the bus operations. Fix this by making that variable a pointer and having the bus drivers set the operations prior to registering. This is not a particularly good or nice approach but it avoids blocking multiplatform and a real fix involves fixing the fairly deep problems with AC'97 support - we should be converting it to a real bus. Acked-by: Arnd Bergmann Reviewed-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed