aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-06-25 17:58:37 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:56 -0400
commit08e51533a0a26c236879ad33b2798c16328051d9 (patch)
tree2aba570b1646a2db5bc154eafdd1dd2a4cbcaf8c /drivers/isdn
parent35a26f150927300042e2d71aa80375b6c5295fbd (diff)
[PATCH] drivers/isdn/hardware/avm/: misc cleanups
This patch contains the following cleanups: - make some needlessly global functions static - b1dma.c __init/__exit the functions b1dma_{init,exit} Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/hardware/avm/b1dma.c4
-rw-r--r--drivers/isdn/hardware/avm/c4.c6
-rw-r--r--drivers/isdn/hardware/avm/t1isa.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hardware/avm/b1dma.c b/drivers/isdn/hardware/avm/b1dma.c
index 55bed00ca865..91dd0551fc7c 100644
--- a/drivers/isdn/hardware/avm/b1dma.c
+++ b/drivers/isdn/hardware/avm/b1dma.c
@@ -955,7 +955,7 @@ EXPORT_SYMBOL(b1dma_release_appl);
955EXPORT_SYMBOL(b1dma_send_message); 955EXPORT_SYMBOL(b1dma_send_message);
956EXPORT_SYMBOL(b1dmactl_read_proc); 956EXPORT_SYMBOL(b1dmactl_read_proc);
957 957
958int b1dma_init(void) 958static int __init b1dma_init(void)
959{ 959{
960 char *p; 960 char *p;
961 char rev[32]; 961 char rev[32];
@@ -972,7 +972,7 @@ int b1dma_init(void)
972 return 0; 972 return 0;
973} 973}
974 974
975void b1dma_exit(void) 975static void __exit b1dma_exit(void)
976{ 976{
977} 977}
978 978
diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c
index fa6b93b1a42d..724aac2c1cca 100644
--- a/drivers/isdn/hardware/avm/c4.c
+++ b/drivers/isdn/hardware/avm/c4.c
@@ -885,7 +885,7 @@ static int c4_load_firmware(struct capi_ctr *ctrl, capiloaddata *data)
885} 885}
886 886
887 887
888void c4_reset_ctr(struct capi_ctr *ctrl) 888static void c4_reset_ctr(struct capi_ctr *ctrl)
889{ 889{
890 avmcard *card = ((avmctrl_info *)(ctrl->driverdata))->card; 890 avmcard *card = ((avmctrl_info *)(ctrl->driverdata))->card;
891 avmctrl_info *cinfo; 891 avmctrl_info *cinfo;
@@ -933,7 +933,7 @@ static void c4_remove(struct pci_dev *pdev)
933/* ------------------------------------------------------------- */ 933/* ------------------------------------------------------------- */
934 934
935 935
936void c4_register_appl(struct capi_ctr *ctrl, 936static void c4_register_appl(struct capi_ctr *ctrl,
937 u16 appl, 937 u16 appl,
938 capi_register_params *rp) 938 capi_register_params *rp)
939{ 939{
@@ -978,7 +978,7 @@ void c4_register_appl(struct capi_ctr *ctrl,
978 978
979/* ------------------------------------------------------------- */ 979/* ------------------------------------------------------------- */
980 980
981void c4_release_appl(struct capi_ctr *ctrl, u16 appl) 981static void c4_release_appl(struct capi_ctr *ctrl, u16 appl)
982{ 982{
983 avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata); 983 avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
984 avmcard *card = cinfo->card; 984 avmcard *card = cinfo->card;
diff --git a/drivers/isdn/hardware/avm/t1isa.c b/drivers/isdn/hardware/avm/t1isa.c
index cb9d9cee2a64..3b701d97bdf1 100644
--- a/drivers/isdn/hardware/avm/t1isa.c
+++ b/drivers/isdn/hardware/avm/t1isa.c
@@ -328,7 +328,7 @@ static int t1isa_load_firmware(struct capi_ctr *ctrl, capiloaddata *data)
328 return 0; 328 return 0;
329} 329}
330 330
331void t1isa_reset_ctr(struct capi_ctr *ctrl) 331static void t1isa_reset_ctr(struct capi_ctr *ctrl)
332{ 332{
333 avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata); 333 avmctrl_info *cinfo = (avmctrl_info *)(ctrl->driverdata);
334 avmcard *card = cinfo->card; 334 avmcard *card = cinfo->card;