diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:59:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:25:07 -0400 |
commit | 672c3fd9069e5a138f9d4afc9aeb5aa34aacce32 (patch) | |
tree | eed95f7e577680c4a92e7f22b22b221b53934fd1 /drivers/isdn/hisax/bkm_a8.c | |
parent | 8b3d4a2a3ef9488d4477e8823106abfd6039eb66 (diff) |
[PATCH] drivers/isdn/hisax/: possible cleanups
This patch contains the following possible cleanups:
- make needlessly global code static
- remove the compiled but unused st5481_hdlc.{c,h}
- kill enternow.h
- enternow_pci.c: kill InByte/OutByte/BYTE
- isdnl2.c: kill FreeSkb
- remove or #if 0 the following unused functions:
- config.c: IsdnCardState
- ipacx.c: ipacx_new_ph
- ipacx.c: dch_bh
- ipacx.c: setup_ipacx
- isdnl2.c: IsRR
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Kai Germaschewski <kai@germaschewski.name>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hisax/bkm_a8.c')
-rw-r--r-- | drivers/isdn/hisax/bkm_a8.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/bkm_a8.c b/drivers/isdn/hisax/bkm_a8.c index 94bb83ce7fd8..5f21b82c8c8d 100644 --- a/drivers/isdn/hisax/bkm_a8.c +++ b/drivers/isdn/hisax/bkm_a8.c | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | extern const char *CardType[]; | 28 | extern const char *CardType[]; |
29 | 29 | ||
30 | const char sct_quadro_revision[] = "$Revision: 1.22.2.4 $"; | 30 | static const char sct_quadro_revision[] = "$Revision: 1.22.2.4 $"; |
31 | 31 | ||
32 | static const char *sct_quadro_subtypes[] = | 32 | static const char *sct_quadro_subtypes[] = |
33 | { | 33 | { |
@@ -193,7 +193,7 @@ bkm_interrupt_ipac(int intno, void *dev_id, struct pt_regs *regs) | |||
193 | return IRQ_HANDLED; | 193 | return IRQ_HANDLED; |
194 | } | 194 | } |
195 | 195 | ||
196 | void | 196 | static void |
197 | release_io_sct_quadro(struct IsdnCardState *cs) | 197 | release_io_sct_quadro(struct IsdnCardState *cs) |
198 | { | 198 | { |
199 | release_region(cs->hw.ax.base & 0xffffffc0, 128); | 199 | release_region(cs->hw.ax.base & 0xffffffc0, 128); |
@@ -261,7 +261,7 @@ BKM_card_msg(struct IsdnCardState *cs, int mt, void *arg) | |||
261 | return (0); | 261 | return (0); |
262 | } | 262 | } |
263 | 263 | ||
264 | int __init | 264 | static int __init |
265 | sct_alloc_io(u_int adr, u_int len) | 265 | sct_alloc_io(u_int adr, u_int len) |
266 | { | 266 | { |
267 | if (!request_region(adr, len, "scitel")) { | 267 | if (!request_region(adr, len, "scitel")) { |