[2.5.7-pre1] rtctimer.c compile fix

Sebastian Droege (sebastian.droege@gmx.de)
Wed, 13 Mar 2002 14:47:11 +0100


--=.XBe9Bg/Ij.s207
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,
here is a simple compile fix for the alsa rtctimer
The variable err in rtctimer_open was missing
Maybe this was posted before (I use this fix since 2.5.5 or so) but I don't know

Bye

--- linux-2.5.6/sound/core/rtctimer.c.old Wed Mar 13 14:43:31 2002
+++ linux-2.5.6/sound/core/rtctimer.c Wed Mar 13 14:43:56 2002
@@ -76,6 +76,7 @@
static int
rtctimer_open(snd_timer_t *t)
{
+ int err;
err = rtc_register(&rtc_task);
if (err < 0)
return err;
--=.XBe9Bg/Ij.s207
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8j1hye9FFpVVDScsRAg+nAKDaQhi0thhIQaK6Gb+wjsc8GExwtQCg93xF
Hm3XscFbwy7z1vB2RHyXPjE=
=GLPB
-----END PGP SIGNATURE-----

--=.XBe9Bg/Ij.s207--

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