projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6522efe
)
fix if block that got broken during port to 2.6
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 31 May 2004 23:00:23 +0000
(23:00 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 31 May 2004 23:00:23 +0000
(23:00 +0000)
comedi/drivers/cb_das16_cs.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/cb_das16_cs.c
b/comedi/drivers/cb_das16_cs.c
index ec42f7de2094bebda93ab763f8d9d3ddb96b3a60..0bb6da8d1565cf4709fdcf8abae84b411e1428c0 100644
(file)
--- a/
comedi/drivers/cb_das16_cs.c
+++ b/
comedi/drivers/cb_das16_cs.c
@@
-970,9
+970,10
@@
static void das16cs_pcmcia_config(dev_link_t *link)
irq structure is initialized.
*/
if (link->conf.Attributes & CONF_ENABLE_IRQ)
- last_fn = RequestIRQ;
- if((last_ret = pcmcia_request_irq(link->handle, &link->irq)) != 0) goto cs_failed;
-
+ {
+ last_fn = RequestIRQ;
+ if((last_ret = pcmcia_request_irq(link->handle, &link->irq)) != 0) goto cs_failed;
+ }
/*
This actually configures the PCMCIA socket -- setting up
the I/O windows and the interrupt mapping, and putting the