ALSA: lto, sound: Fix export symbols for !CONFIG_MODULES
authorAndi Kleen <ak@linux.intel.com>
Sun, 19 Aug 2012 02:56:22 +0000 (19:56 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Aug 2012 09:53:10 +0000 (11:53 +0200)
commit8dea9d382a7aca9ebb48a80a34d7e1cf4ac8dcb2
tree58fbfc10128b9eded4cec05915d577b1b6b223dc
parent65fcd41d371f4464c3f5a0433a8056cc3d739397
ALSA: lto, sound: Fix export symbols for !CONFIG_MODULES

The new LTO EXPORT_SYMBOL references symbols even without CONFIG_MODULES.
Since these functions are macros in this case this doesn't work.
Add a ifdef to fix the build.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_device.c