Commit 7263ade1 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[IrDA]: MCS7780 usb_driver struct should be static

This patch makes a needlessly global struct static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarSamuel Ortiz <samuel@sortiz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c4f095e
...@@ -101,7 +101,7 @@ static int transceiver_type = MCS_TSC_VISHAY; ...@@ -101,7 +101,7 @@ static int transceiver_type = MCS_TSC_VISHAY;
module_param(transceiver_type, int, 0444); module_param(transceiver_type, int, 0444);
MODULE_PARM_DESC(transceiver_type, "IR transceiver type, see mcs7780.h."); MODULE_PARM_DESC(transceiver_type, "IR transceiver type, see mcs7780.h.");
struct usb_driver mcs_driver = { static struct usb_driver mcs_driver = {
.name = "mcs7780", .name = "mcs7780",
.probe = mcs_probe, .probe = mcs_probe,
.disconnect = mcs_disconnect, .disconnect = mcs_disconnect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment