[alsa-devel] [PATCH 6/7] ASoC: Samsung: smdk_wm8994: Fix build error

Mark Brown broonie at kernel.org
Wed Jan 22 12:10:21 CET 2014

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140122/3c3c2613/attachment.sig>

More information about the Alsa-devel mailing list