mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[PATCH] build sound/sound_firmware.c only for OSS
All sound/sound_firmware.c contains is mod_firmware_load() that is a legacy API only used by some OSS drivers. This patch builds it into an own sound_firmware module that is only built depending on CONFIG_SOUND_PRIME making the kernel slightly smaller for ALSA users. [[email protected]: comment fix] Signed-off-by: Adrian Bunk <[email protected]> Acked-by: Takashi Iwai <[email protected]> Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e5582ca21a
commit
b9dd6ffc3d
3 changed files with 6 additions and 7 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#
|
||||
|
||||
obj-$(CONFIG_SOUND) += soundcore.o
|
||||
obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o
|
||||
obj-$(CONFIG_SOUND_PRIME) += oss/
|
||||
obj-$(CONFIG_DMASOUND) += oss/
|
||||
obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/
|
||||
|
|
@ -11,4 +12,4 @@ ifeq ($(CONFIG_SND),y)
|
|||
obj-y += last.o
|
||||
endif
|
||||
|
||||
soundcore-objs := sound_core.o sound_firmware.o
|
||||
soundcore-objs := sound_core.o
|
||||
|
|
|
|||
Loading…
Reference in a new issue