]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite36a5049cb28cc9a15e43511f4ae46716993a278
tree58fbfc10128b9eded4cec05915d577b1b6b223dc
parente97bd279c6aad4b3b3755be32d9748599b427b20
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