Re: [RFC: 2.6 patch] build sound/sound_firmware.c only for OSS

From: Alan Cox
Date: Mon Sep 04 2006 - 07:48:03 EST


Ar Llu, 2006-09-04 am 13:41 +0200, ysgrifennodd Adrian Bunk:
> 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.

Reminds me - might as well fix this too

Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

--- sound/sound_firmware.c~ 2006-09-04 12:33:08.805282488 +0100
+++ sound/sound_firmware.c 2006-09-04 12:33:08.817280664 +0100
@@ -59,8 +59,7 @@
* value zero on a failure.
*
* Caution: This API is not recommended. Firmware should be loaded via
- * an ioctl call and a setup application. This function may disappear
- * in future.
+ * request_firmware.
*/

int mod_firmware_load(const char *fn, char **fp)


--
VGER BF report: H 2.96182e-15
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/