summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-29 12:39:07 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 16:58:26 -0700
commit7263ade1e1e72e34fc3c179f3aeaa07a11872d22 (patch)
tree9271f6c59a8bed7d83f8af67618faa145f38a7e0
parent6c4f095eae35e83eb6148dec7f72874eeadf0c9b (diff)
downloadop-kernel-dev-7263ade1e1e72e34fc3c179f3aeaa07a11872d22.zip
op-kernel-dev-7263ade1e1e72e34fc3c179f3aeaa07a11872d22.tar.gz
[IrDA]: MCS7780 usb_driver struct should be static
This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Samuel Ortiz <samuel@sortiz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/irda/mcs7780.c2
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_VISHAY;
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,
OpenPOWER on IntegriCloud