All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.0-test3][OSS] ac97_plugin_ad1980.c: warning fix
@ 2003-08-10 13:50 Vinay K Nallamothu
  0 siblings, 0 replies; 2+ messages in thread
From: Vinay K Nallamothu @ 2003-08-10 13:50 UTC (permalink / raw)
  To: linux-sound

sound/oss/ac97_plugin_ad1980.c:
fix ad1980_remove to have correct number of arguments

without the patch the following compilation warning is thrown:

sound/oss/ac97_plugin_ad1980.c:90: warning: initialization from
incompatible pointer type



--- linux-2.6.0-test3/sound/oss/ac97_plugin_ad1980.c	2003-07-28 10:44:11.000000000 +0530
+++ linux-2.6.0-test3-nvk/sound/oss/ac97_plugin_ad1980.c	2003-08-10 19:36:14.000000000 +0530
@@ -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 */
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 2.6.0-test3][OSS] ac97_plugin_ad1980.c: warning fix
@ 2003-08-10 14:10 Vinay K Nallamothu
  0 siblings, 0 replies; 2+ messages in thread
From: Vinay K Nallamothu @ 2003-08-10 14:10 UTC (permalink / raw)
  To: trivial; +Cc: LKML, linux-sound

sound/oss/ac97_plugin_ad1980.c:
fix ad1980_remove to have correct number of arguments

without the patch the following compilation warning is thrown:

sound/oss/ac97_plugin_ad1980.c:90: warning: initialization from
incompatible pointer type



--- linux-2.6.0-test3/sound/oss/ac97_plugin_ad1980.c	2003-07-28 10:44:11.000000000 +0530
+++ linux-2.6.0-test3-nvk/sound/oss/ac97_plugin_ad1980.c	2003-08-10 19:36:14.000000000 +0530
@@ -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 */
 }


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-10 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-10 13:50 [PATCH 2.6.0-test3][OSS] ac97_plugin_ad1980.c: warning fix Vinay K Nallamothu
  -- strict thread matches above, loose matches on Subject: below --
2003-08-10 14:10 Vinay K Nallamothu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.