diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-16 07:41:15 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-21 02:22:30 +0400 |
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 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 *); |