diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-09-29 05:01:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 12:18:24 -0400 |
commit | b9dd6ffc3d6b56417a2c4c917f51dab6470166e6 (patch) | |
tree | 629111b68c1db6de82acef3f7ab486d61751235c /sound/sound_core.c | |
parent | e5582ca21af82929d5cd3613321ac9233c492ebc (diff) |
[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.
[alan@lxorguk.ukuu.org.uk: comment fix]
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/sound_core.c')
-rw-r--r-- | sound/sound_core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/sound_core.c b/sound/sound_core.c index 62d4d0c81261..0b0a016ca6d6 100644 --- a/sound/sound_core.c +++ b/sound/sound_core.c | |||
@@ -551,10 +551,6 @@ int soundcore_open(struct inode *inode, struct file *file) | |||
551 | return -ENODEV; | 551 | return -ENODEV; |
552 | } | 552 | } |
553 | 553 | ||
554 | extern int mod_firmware_load(const char *, char **); | ||
555 | EXPORT_SYMBOL(mod_firmware_load); | ||
556 | |||
557 | |||
558 | MODULE_DESCRIPTION("Core sound module"); | 554 | MODULE_DESCRIPTION("Core sound module"); |
559 | MODULE_AUTHOR("Alan Cox"); | 555 | MODULE_AUTHOR("Alan Cox"); |
560 | MODULE_LICENSE("GPL"); | 556 | MODULE_LICENSE("GPL"); |