From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
To: linux-sound@vger.kernel.org
Subject: [PATCH 2.6.0-test3][OSS] ac97_plugin_ad1980.c: warning fix
Date: Sun, 10 Aug 2003 13:50:35 +0000 [thread overview]
Message-ID: <marc-linux-sound-106052343505211@msgid-missing> (raw)
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 */
}
next reply other threads:[~2003-08-10 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-10 13:50 Vinay K Nallamothu [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-08-10 14:10 [PATCH 2.6.0-test3][OSS] ac97_plugin_ad1980.c: warning fix Vinay K Nallamothu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-sound-106052343505211@msgid-missing \
--to=vinay-rc@naturesoft.net \
--cc=linux-sound@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.