From: Sachin Kamat Date: Wed, 22 Jan 2014 12:00:43 +0000 (+0530) Subject: ASoC: samsung: smdk_wm8994: Fix build error X-Git-Tag: v3.14-rc1~16^2~4^2^4~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83183ca3c25275706427a9f88f83208dec647d1;p=pandora-kernel.git ASoC: samsung: smdk_wm8994: Fix build error Fixes the following build error and warning when OF is not defined: sound/soc/samsung/smdk_wm8994.c:191:23: error: ‘samsung_wm8994_of_match’ undeclared (first use in this function) sound/soc/samsung/smdk_wm8994.c:47:32: warning: ‘smdk_board_data’ defined but not used [-Wunused-variable] of_match_ptr() is used so that samsung_wm8994_of_match gets dropped (as unused) by the compiler when OF is not defined. Signed-off-by: Sachin Kamat Signed-off-by: Mark Brown --- Reading git-diff-tree failed