]> git.hungrycats.org Git - linux/commitdiff
[PATCH] [PATCH ac97_plugin_ad1980.c: warning fix
authorRusty Russell <trivial@rustcorp.com.au>
Sun, 5 Oct 2003 04:31:58 +0000 (21:31 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 5 Oct 2003 04:31:58 +0000 (21:31 -0700)
From:  Vinay K Nallamothu <vinay-rc@naturesoft.net>

sound/oss/ac97_plugin_ad1980.c

index 722080243bef43085a3809cb64d381c12e58493a..e58b333d59429769457d1ac16148e6b4d0a5bc69 100644 (file)
@@ -28,6 +28,7 @@
 
 */
 
+#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
@@ -45,7 +46,7 @@
  *     use of the codec after the probe function.
  */
  
-static void ad1980_remove(struct ac97_codec *codec)
+static void __devexit ad1980_remove(struct ac97_codec *codec, struct ac97_driver *driver)
 {
        /* Nothing to do in the simple example */
 }