summaryrefslogtreecommitdiff
path: root/drivers/isdn/hisax/hisax_cfg.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2008-02-16 07:41:15 +0300
committerJeff Garzik <jgarzik@redhat.com>2008-04-21 02:22:30 +0400
commitd38c8475b4f3a684ac673dcedc88ffdb17b74882 (patch)
tree6534f17c8029697a239ba3b962ecd82c77a4d8d9 /drivers/isdn/hisax/hisax_cfg.h
parent3925e6fc1f774048404fdd910b0345b06c699eb4 (diff)
downloadlinux-d38c8475b4f3a684ac673dcedc88ffdb17b74882.tar.xz
[ISDN] HiSax: modularization prep
Pass a function pointer into the core HiSax probe function checkcard(), in order to facilitate modular drivers passing in their own setup routines. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/isdn/hisax/hisax_cfg.h')
-rw-r--r--drivers/isdn/hisax/hisax_cfg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax_cfg.h b/drivers/isdn/hisax/hisax_cfg.h
index ca3fe6259bca..17a2fea64efe 100644
--- a/drivers/isdn/hisax/hisax_cfg.h
+++ b/drivers/isdn/hisax/hisax_cfg.h
@@ -60,5 +60,7 @@ struct IsdnCard {
IsdnCardState_t *cs;
};
+typedef int (*hisax_setup_func_t)(struct IsdnCard *card);
+
extern void HiSax_closecard(int);
extern int hisax_init_pcmcia(void *, int *, IsdnCard_t *);