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.h | |
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.h')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcsusb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.h b/drivers/isdn/hardware/mISDN/hfcsusb.h index 098486b8e8d2..43efe7358fa3 100644 --- a/drivers/isdn/hardware/mISDN/hfcsusb.h +++ b/drivers/isdn/hardware/mISDN/hfcsusb.h | |||
@@ -198,7 +198,7 @@ validconf[][19] = { | |||
198 | }; | 198 | }; |
199 | 199 | ||
200 | /* string description of chosen config */ | 200 | /* string description of chosen config */ |
201 | char *conf_str[] = { | 201 | static char *conf_str[] = { |
202 | "4 Interrupt IN + 3 Isochron OUT", | 202 | "4 Interrupt IN + 3 Isochron OUT", |
203 | "3 Interrupt IN + 3 Isochron OUT", | 203 | "3 Interrupt IN + 3 Isochron OUT", |
204 | "4 Isochron IN + 3 Isochron OUT", | 204 | "4 Isochron IN + 3 Isochron OUT", |
@@ -316,7 +316,7 @@ struct hfcsusb_vdata { | |||
316 | #define HFC_MAX_TE_LAYER1_STATE 8 | 316 | #define HFC_MAX_TE_LAYER1_STATE 8 |
317 | #define HFC_MAX_NT_LAYER1_STATE 4 | 317 | #define HFC_MAX_NT_LAYER1_STATE 4 |
318 | 318 | ||
319 | const char *HFC_TE_LAYER1_STATES[HFC_MAX_TE_LAYER1_STATE + 1] = { | 319 | static const char *HFC_TE_LAYER1_STATES[HFC_MAX_TE_LAYER1_STATE + 1] = { |
320 | "TE F0 - Reset", | 320 | "TE F0 - Reset", |
321 | "TE F1 - Reset", | 321 | "TE F1 - Reset", |
322 | "TE F2 - Sensing", | 322 | "TE F2 - Sensing", |
@@ -328,7 +328,7 @@ const char *HFC_TE_LAYER1_STATES[HFC_MAX_TE_LAYER1_STATE + 1] = { | |||
328 | "TE F8 - Lost framing", | 328 | "TE F8 - Lost framing", |
329 | }; | 329 | }; |
330 | 330 | ||
331 | const char *HFC_NT_LAYER1_STATES[HFC_MAX_NT_LAYER1_STATE + 1] = { | 331 | static const char *HFC_NT_LAYER1_STATES[HFC_MAX_NT_LAYER1_STATE + 1] = { |
332 | "NT G0 - Reset", | 332 | "NT G0 - Reset", |
333 | "NT G1 - Deactive", | 333 | "NT G1 - Deactive", |
334 | "NT G2 - Pending activation", | 334 | "NT G2 - Pending activation", |