* [PATCH] [IrDA] MCS7780 usb_driver struct should be static
@ 2006-06-29 5:12 Samuel Ortiz
[not found] ` <20060629051236.GA31100-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Ortiz @ 2006-06-29 5:12 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, irda-users, bunk
Hi Dave,
This patch makes a needlessly global struct static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
---
drivers/net/irda/mcs7780.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/irda/mcs7780.c b/drivers/net/irda/mcs7780.c
index 754297f..47f6f64 100644
--- a/drivers/net/irda/mcs7780.c
+++ b/drivers/net/irda/mcs7780.c
@@ -101,7 +101,7 @@ static int transceiver_type = MCS_TSC_VI
module_param(transceiver_type, int, 0444);
MODULE_PARM_DESC(transceiver_type, "IR transceiver type, see mcs7780.h.");
-struct usb_driver mcs_driver = {
+static struct usb_driver mcs_driver = {
.name = "mcs7780",
.probe = mcs_probe,
.disconnect = mcs_disconnect,
--
1.4.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] [IrDA] MCS7780 usb_driver struct should be static
[not found] ` <20060629051236.GA31100-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
@ 2006-06-29 19:39 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-06-29 19:39 UTC (permalink / raw)
To: samuel-jcdQHdrhKHMdnm+yROfE0A
Cc: netdev-u79uwXL29TY76Z2rM5mHXA, bunk-HeJ8Db2Gnd6zQB+pC5nmwQ,
irda-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
From: Samuel Ortiz <samuel-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
Date: Thu, 29 Jun 2006 08:12:36 +0300
> Hi Dave,
>
> This patch makes a needlessly global struct static.
>
> Signed-off-by: Adrian Bunk <bunk-HeJ8Db2Gnd6zQB+pC5nmwQ@public.gmane.org>
> Signed-off-by: Samuel Ortiz <samuel-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
Applied, thanks a lot.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-29 19:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-29 5:12 [PATCH] [IrDA] MCS7780 usb_driver struct should be static Samuel Ortiz
[not found] ` <20060629051236.GA31100-jcdQHdrhKHMdnm+yROfE0A@public.gmane.org>
2006-06-29 19:39 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).