diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-15 23:41:15 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-20 18:22:30 -0400 |
commit | d38c8475b4f3a684ac673dcedc88ffdb17b74882 (patch) | |
tree | 6534f17c8029697a239ba3b962ecd82c77a4d8d9 /drivers/isdn/hisax/hisax_cfg.h | |
parent | 3925e6fc1f774048404fdd910b0345b06c699eb4 (diff) |
[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 { | |||
60 | IsdnCardState_t *cs; | 60 | IsdnCardState_t *cs; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | typedef int (*hisax_setup_func_t)(struct IsdnCard *card); | ||
64 | |||
63 | extern void HiSax_closecard(int); | 65 | extern void HiSax_closecard(int); |
64 | extern int hisax_init_pcmcia(void *, int *, IsdnCard_t *); | 66 | extern int hisax_init_pcmcia(void *, int *, IsdnCard_t *); |