netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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).