Skip to contentSkip to conversation

MCS7780 usb_driver struct should be static

PATCH Applied Samuel Ortiz 2 participants 2 messages Jun 28, 2006 – Jun 29, 2006 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MCS7780 usb_driver struct should be static

Hi Dave,

This patch makes a needlessly global struct static.

---
 drivers/net/irda/mcs7780.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/irda/mcs7780.c +1 -1
index 754297f..47f6f64 100644
@@ -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,
Signature · 1 line
1.4.0
Applied
#2 lore raw
In reply to a message not in the archive

From: Samuel Ortiz <[email protected]>
Date: Thu, 29 Jun 2006 08:12:36 +0300

Quoted 6 lines

Hi Dave,

This patch makes a needlessly global struct static.

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