diff options
-rw-r--r-- | sound/Makefile | 3 | ||||
-rw-r--r-- | sound/sound_core.c | 4 | ||||
-rw-r--r-- | sound/sound_firmware.c | 6 |
3 files changed, 6 insertions, 7 deletions
diff --git a/sound/Makefile b/sound/Makefile index 1f60797afa8a..5f6bef57e825 100644 --- a/sound/Makefile +++ b/sound/Makefile | |||
@@ -2,6 +2,7 @@ | |||
2 | # | 2 | # |
3 | 3 | ||
4 | obj-$(CONFIG_SOUND) += soundcore.o | 4 | obj-$(CONFIG_SOUND) += soundcore.o |
5 | obj-$(CONFIG_SOUND_PRIME) += sound_firmware.o | ||
5 | obj-$(CONFIG_SOUND_PRIME) += oss/ | 6 | obj-$(CONFIG_SOUND_PRIME) += oss/ |
6 | obj-$(CONFIG_DMASOUND) += oss/ | 7 | obj-$(CONFIG_DMASOUND) += oss/ |
7 | obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ | 8 | obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ synth/ usb/ sparc/ parisc/ pcmcia/ mips/ |
@@ -11,4 +12,4 @@ ifeq ($(CONFIG_SND),y) | |||
11 | obj-y += last.o | 12 | obj-y += last.o |
12 | endif | 13 | endif |
13 | 14 | ||
14 | soundcore-objs := sound_core.o sound_firmware.o | 15 | soundcore-objs := sound_core.o |
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"); |
diff --git a/sound/sound_firmware.c b/sound/sound_firmware.c index 6ddadfac35ad..3a181d4c0dc6 100644 --- a/sound/sound_firmware.c +++ b/sound/sound_firmware.c | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <linux/mm.h> | 4 | #include <linux/mm.h> |
5 | #include <linux/slab.h> | 5 | #include <linux/slab.h> |
6 | #include <asm/uaccess.h> | 6 | #include <asm/uaccess.h> |
7 | #include "oss/sound_firmware.h" | ||
7 | 8 | ||
8 | static int do_mod_firmware_load(const char *fn, char **fp) | 9 | static int do_mod_firmware_load(const char *fn, char **fp) |
9 | { | 10 | { |
@@ -59,8 +60,7 @@ static int do_mod_firmware_load(const char *fn, char **fp) | |||
59 | * value zero on a failure. | 60 | * value zero on a failure. |
60 | * | 61 | * |
61 | * Caution: This API is not recommended. Firmware should be loaded via | 62 | * Caution: This API is not recommended. Firmware should be loaded via |
62 | * an ioctl call and a setup application. This function may disappear | 63 | * request_firmware. |
63 | * in future. | ||
64 | */ | 64 | */ |
65 | 65 | ||
66 | int mod_firmware_load(const char *fn, char **fp) | 66 | int mod_firmware_load(const char *fn, char **fp) |
@@ -73,4 +73,6 @@ int mod_firmware_load(const char *fn, char **fp) | |||
73 | set_fs(fs); | 73 | set_fs(fs); |
74 | return r; | 74 | return r; |
75 | } | 75 | } |
76 | EXPORT_SYMBOL(mod_firmware_load); | ||
76 | 77 | ||
78 | MODULE_LICENSE("GPL"); | ||