[Compile Regression in 2.4.25-pre8][PATCH 1/42]

Kronos
2004-02-02T18:20:00Z

ac97_plugin_ad1980.c:92: warning: initialization from incompatible pointer type

Fixed. Use correct prototype for ad1980_remove.

diff -Nru -X dontdiff linux-2.4-vanilla/drivers/sound/ac97_plugin_ad1980.c linux-2.4/drivers/sound/ac97_plugin_ad1980.c
--- linux-2.4-vanilla/drivers/sound/ac97_plugin_ad1980.c Sat Jan 31 15:54:42 2004
+++ linux-2.4/drivers/sound/ac97_plugin_ad1980.c Sat Jan 31 15:57:43 2004
@@ -45,7 +45,7 @@
* use of the codec after the probe function.
*/

-static void ad1980_remove(struct ac97_codec *codec)
+static void ad1980_remove(struct ac97_codec *codec, struct ac97_driver *driver)
{
/* Nothing to do in the simple example */
}

--
Reply-To: kronos@kronoz.cjb.net
Home: http://kronoz.cjb.net
Collect some stars to shine for you
And start today 'cause there's only a few
A sign of times my friend