Subject: [PATCH] [IrDA] MCS7780 usb_driver struct should be static

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

Hi Dave,

This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <[email-masked]>
Signed-off-by: Samuel Ortiz <[email-masked]>
---
 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