Re: Linux 2.4.18-rc2

Paul Mackerras (paulus@samba.org)
Tue, 19 Feb 2002 12:43:06 +1100 (EST)


Marcelo Tosatti writes:

> Well hopefully have a 2.4.18 pretty soon..

The fix to drivers/sound/dmasound/tas3001c.c, to export
tumbler_enter_sleep and tumbler_leave_sleep, is still not included.
Could we have that one in before 2.4.18 final is released, please?
Otherwise compiling a kernel for a powermac will fail.

Regards,
Paul.

diff -urN linux-2.4.18-rc2/drivers/sound/dmasound/tas3001c.c pmac/drivers/sound/dmasound/tas3001c.c
--- linux-2.4.18-rc2/drivers/sound/dmasound/tas3001c.c Tue Feb 19 12:37:37 2002
+++ pmac/drivers/sound/dmasound/tas3001c.c Thu Jan 24 15:12:10 2002
@@ -67,8 +67,8 @@

static struct i2c_client * tumbler_client = NULL;

-static int tumbler_enter_sleep(void);
-static int tumbler_leave_sleep(void);
+int tumbler_enter_sleep(void);
+int tumbler_leave_sleep(void);

static int tas_attach_adapter(struct i2c_adapter *adapter);
static int tas_detect_client(struct i2c_adapter *adapter, int address);
@@ -298,7 +298,7 @@
return 0;
}

-static int
+int
tumbler_leave_sleep(void)
{
/* Stub for now, but I have the details on low-power mode */
@@ -308,7 +308,7 @@
return 0;
}

-static int
+int
tumbler_enter_sleep(void)
{
/* Stub for now, but I have the details on low-power mode */
-
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/