diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-16 04:41:15 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 22:22:30 (GMT) |
commit | d38c8475b4f3a684ac673dcedc88ffdb17b74882 (patch) | |
tree | 6534f17c8029697a239ba3b962ecd82c77a4d8d9 /drivers/isdn/hisax/hisax_cfg.h | |
parent | 3925e6fc1f774048404fdd910b0345b06c699eb4 (diff) | |
download | linux-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/hisax_cfg.h b/drivers/isdn/hisax/hisax_cfg.h index ca3fe62..17a2fea 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 *); |