From: Thomas Petazzoni Date: Wed, 12 Nov 2014 14:40:44 +0000 (+0100) Subject: ASoC: cs42l51: re-hook of_match_table pointer X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~85^2~2^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cb1e0259f50c7be88eb277c7442fa74a3ce7c57;p=pandora-kernel.git ASoC: cs42l51: re-hook of_match_table pointer In commit a1253ef6d3fa ("ASoC: cs42l51: split i2c from codec driver"), the I2C part of the CS42L51 was moved to a separate file, but the definition of the of_device_id array was left in the driver file itself, no longer connected to the platform_driver structure using the .of_match_table pointer. This commit exports the of_device_id array in cs42l51, and uses it as .of_match_able in cs42l51-i2c.c. This solution was suggested by Brian Austin. Fixes: a1253ef6d3fa ("ASoC: cs42l51: split i2c from codec driver") Signed-off-by: Thomas Petazzoni Acked-by: Brian Austin Signed-off-by: Mark Brown Cc: --- Reading git-diff-tree failed