]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Don't export symbols when built-in kernel
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 14:17:06 +0000 (15:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Nov 2008 14:22:02 +0000 (15:22 +0100)
commitff7a3267368634e368ebaac68d5e3abf129edd1d
tree588571dbc3f6017c6fa26990f5349ca5f63c1f98
parent645f10c1ac7f733b224eaf97634edf9b20e2370e
ALSA: hda - Don't export symbols when built-in kernel

The global functions in hda_codec.c and other core parts are only
for HD-audio codec and controller drivers.  When the HD-audio driver
is built in kernel, all stuff have to be statically linked, thus
we don't need any exports.

This patch introduces a conditional macro to do export only
when needed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.c
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h