From: Adrian Bunk <bunk@stusta.de>
To: Ping Cheng <pingc@wacom.com>
Cc: gregkh@suse.de, linux-usb-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: [2.6 patch] make drivers/usb/input/wacom_sys.c:wacom_sys_irq() static
Date: Mon, 20 Nov 2006 03:23:58 +0100 [thread overview]
Message-ID: <20061120022357.GJ31879@stusta.de> (raw)
This patch makes the needlessly global wacom_sys_irq() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/usb/input/wacom.h | 1 -
drivers/usb/input/wacom_sys.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.19-rc5-mm2/drivers/usb/input/wacom.h.old 2006-11-20 01:05:38.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/usb/input/wacom.h 2006-11-20 01:05:44.000000000 +0100
@@ -110,7 +110,6 @@
};
extern int wacom_wac_irq(struct wacom_wac * wacom_wac, void * wcombo);
-extern void wacom_sys_irq(struct urb *urb);
extern void wacom_report_abs(void *wcombo, unsigned int abs_type, int abs_data);
extern void wacom_report_rel(void *wcombo, unsigned int rel_type, int rel_data);
extern void wacom_report_key(void *wcombo, unsigned int key_type, int key_data);
--- linux-2.6.19-rc5-mm2/drivers/usb/input/wacom_sys.c.old 2006-11-20 01:05:52.000000000 +0100
+++ linux-2.6.19-rc5-mm2/drivers/usb/input/wacom_sys.c 2006-11-20 01:05:58.000000000 +0100
@@ -42,7 +42,7 @@
return wcombo->wacom->dev;
}
-void wacom_sys_irq(struct urb *urb)
+static void wacom_sys_irq(struct urb *urb)
{
struct wacom *wacom = urb->context;
struct wacom_combo wcombo;
reply other threads:[~2006-11-20 2:24 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=20061120022357.GJ31879@stusta.de \
--to=bunk@stusta.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=pingc@wacom.com \
/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