22 Jan
2014
22 Jan
'14
12:10 p.m.
On Wed, Jan 22, 2014 at 07:57:16AM +0100, Takashi Iwai wrote:
At Wed, 22 Jan 2014 11:43:32 +0530, Sachin Kamat wrote:
Fixes the following build error when OF is not defined: sound/soc/samsung/smdk_wm8994.c:191:23: error: ‘samsung_wm8994_of_match’ undeclared (first use in this function)
We can just remove the #ifdef CONFIG_OF, instead? The compiler should be clever enough to drop the actually unused static variables after optimization.
Yes, that's a nicer solution.