public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: gregkh@suse.de
Cc: linux-usb-devel@lists.sourceforge.net,
	linux-input@atrey.karlin.mff.cuni.cz,
	linux-kernel@vger.kernel.org
Subject: [2.6 patch] drivers/usb/input/: proper prototypes
Date: Sat, 25 Mar 2006 18:03:38 +0100	[thread overview]
Message-ID: <20060325170338.GF4053@stusta.de> (raw)

This patch adds proper prototypes in a header file for some global 
functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/usb/input/hid-ff.c |    6 ------
 drivers/usb/input/hid.h    |    5 +++++
 2 files changed, 5 insertions(+), 6 deletions(-)

--- linux-2.6.16-mm1-full/drivers/usb/input/hid.h.old	2006-03-25 15:42:13.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/input/hid.h	2006-03-25 15:43:38.000000000 +0100
@@ -533,3 +533,8 @@
 		return hid->ff_event(hid, input, type, code, value);
 	return -ENOSYS;
 }
+
+int hid_lgff_init(struct hid_device* hid);
+int hid_tmff_init(struct hid_device* hid);
+int hid_pid_init(struct hid_device* hid);
+
--- linux-2.6.16-mm1-full/drivers/usb/input/hid-ff.c.old	2006-03-25 15:43:47.000000000 +0100
+++ linux-2.6.16-mm1-full/drivers/usb/input/hid-ff.c	2006-03-25 15:44:09.000000000 +0100
@@ -34,12 +34,6 @@
 
 #include "hid.h"
 
-/* Drivers' initializing functions */
-extern int hid_lgff_init(struct hid_device* hid);
-extern int hid_lg3d_init(struct hid_device* hid);
-extern int hid_pid_init(struct hid_device* hid);
-extern int hid_tmff_init(struct hid_device* hid);
-
 /*
  * This table contains pointers to initializers. To add support for new
  * devices, you need to add the USB vendor and product ids here.


                 reply	other threads:[~2006-03-25 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060325170338.GF4053@stusta.de \
    --to=bunk@stusta.de \
    --cc=gregkh@suse.de \
    --cc=linux-input@atrey.karlin.mff.cuni.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox