projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4f095
)
[IrDA]: MCS7780 usb_driver struct should be static
author
Adrian Bunk
<bunk@stusta.de>
Thu, 29 Jun 2006 19:39:07 +0000
(12:39 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 29 Jun 2006 23:58:26 +0000
(16:58 -0700)
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>
drivers/net/irda/mcs7780.c
patch
|
blob
|
history
diff --git
a/drivers/net/irda/mcs7780.c
b/drivers/net/irda/mcs7780.c
index
754297f
..
47f6f64
100644
(file)
--- 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 = {
+st
atic st
ruct usb_driver mcs_driver = {
.name = "mcs7780",
.probe = mcs_probe,
.disconnect = mcs_disconnect,