diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-25 08:11:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-27 04:00:42 -0500 |
commit | e86a6a1b7849217bb3b1ef725c7fee86ed6dae33 (patch) | |
tree | 0b21b43e06baf645990185fa9dbd4bdf944c6416 /drivers/isdn/hisax/hisax.h | |
parent | cf80063a7d8b1b477236e5491730c1ff71fc5577 (diff) |
drivers/isdn/hisax: fix sparse warning: Should it be static?
Impact: Move declarations to a header file.
Fix this sparse warning:
drivers/isdn/hisax/callc.c:24:12: warning: symbol 'lli_revision' was not declared. Should it be static?
drivers/isdn/hisax/config.c:84:12: warning: symbol 'CardType' was not declared. Should it be static?
drivers/isdn/hisax/config.c:362:5: warning: symbol 'nrcards' was not declared. Should it be static?
drivers/isdn/hisax/isdnl1.c:21:12: warning: symbol 'l1_revision' was not declared. Should it be static?
drivers/isdn/hisax/isdnl2.c:22:12: warning: symbol 'l2_revision' was not declared. Should it be static?
drivers/isdn/hisax/isdnl3.c:22:12: warning: symbol 'l3_revision' was not declared. Should it be static?
drivers/isdn/hisax/tei.c:23:12: warning: symbol 'tei_revision' 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/hisax/hisax.h')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index e8d429fda846..f8527046f197 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h | |||
@@ -121,6 +121,15 @@ | |||
121 | 121 | ||
122 | #ifdef __KERNEL__ | 122 | #ifdef __KERNEL__ |
123 | 123 | ||
124 | extern const char *CardType[]; | ||
125 | extern int nrcards; | ||
126 | |||
127 | extern const char *l1_revision; | ||
128 | extern const char *l2_revision; | ||
129 | extern const char *l3_revision; | ||
130 | extern const char *lli_revision; | ||
131 | extern const char *tei_revision; | ||
132 | |||
124 | /* include l3dss1 & ni1 specific process structures, but no other defines */ | 133 | /* include l3dss1 & ni1 specific process structures, but no other defines */ |
125 | #ifdef CONFIG_HISAX_EURO | 134 | #ifdef CONFIG_HISAX_EURO |
126 | #define l3dss1_process | 135 | #define l3dss1_process |