diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-12 04:28:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:39:20 -0500 |
commit | 6c2959aa7b81b83c9c4b4cb822bb7c0a637e869a (patch) | |
tree | 6d1aa5da5db2829de3a7a420fd101c00b8b2f27e /drivers/isdn/hardware/mISDN/hfcsusb.c | |
parent | 2b1440230abc8fae0271b012711ecaf64eb38f86 (diff) |
drivers/isdn/hardware/mISDN: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/isdn/hardware/mISDN/hfcpci.c:59:19: warning: symbol 'hfc_tl' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcpci.c:60:9: warning: symbol 'hfc_jiffies' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.h:201:6: warning: symbol 'conf_str' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.h:319:12: warning: symbol 'HFC_TE_LAYER1_STATES' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.h:331:12: warning: symbol 'HFC_NT_LAYER1_STATES' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.c:38:12: warning: symbol 'hfcsusb_rev' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.c:978:1: warning: symbol 'fill_isoc_urb' was not declared. Should it be static?
drivers/isdn/hardware/mISDN/hfcsusb.c:1724:1: warning: symbol 'setup_hfcsusb' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/mISDN/hfcsusb.c')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcsusb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.c b/drivers/isdn/hardware/mISDN/hfcsusb.c index ba6925fbf38a..9c427fb204ee 100644 --- a/drivers/isdn/hardware/mISDN/hfcsusb.c +++ b/drivers/isdn/hardware/mISDN/hfcsusb.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/mISDNhw.h> | 35 | #include <linux/mISDNhw.h> |
36 | #include "hfcsusb.h" | 36 | #include "hfcsusb.h" |
37 | 37 | ||
38 | const char *hfcsusb_rev = "Revision: 0.3.3 (socket), 2008-11-05"; | 38 | static const char *hfcsusb_rev = "Revision: 0.3.3 (socket), 2008-11-05"; |
39 | 39 | ||
40 | static unsigned int debug; | 40 | static unsigned int debug; |
41 | static int poll = DEFAULT_TRANSP_BURST_SZ; | 41 | static int poll = DEFAULT_TRANSP_BURST_SZ; |
@@ -974,7 +974,7 @@ hfcsusb_rx_frame(struct usb_fifo *fifo, __u8 *data, unsigned int len, | |||
974 | spin_unlock(&hw->lock); | 974 | spin_unlock(&hw->lock); |
975 | } | 975 | } |
976 | 976 | ||
977 | void | 977 | static void |
978 | fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, | 978 | fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, |
979 | void *buf, int num_packets, int packet_size, int interval, | 979 | void *buf, int num_packets, int packet_size, int interval, |
980 | usb_complete_t complete, void *context) | 980 | usb_complete_t complete, void *context) |
@@ -1720,7 +1720,7 @@ hfcsusb_stop_endpoint(struct hfcsusb *hw, int channel) | |||
1720 | 1720 | ||
1721 | 1721 | ||
1722 | /* Hardware Initialization */ | 1722 | /* Hardware Initialization */ |
1723 | int | 1723 | static int |
1724 | setup_hfcsusb(struct hfcsusb *hw) | 1724 | setup_hfcsusb(struct hfcsusb *hw) |
1725 | { | 1725 | { |
1726 | int err; | 1726 | int err; |