• Sachin Kamat's avatar
    ASoC: samsung: smdk_wm8994: Fix build error · f83183ca
    Sachin Kamat authored
    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: default avatarSachin Kamat <sachin.kamat@linaro.org>
    Signed-off-by: default avatarMark Brown <broonie@linaro.org>
    f83183ca
smdk_wm8994.c 5.7 KB