提交 e794c01b 编写于 作者: D Dan Carpenter 提交者: Dominik Brodowski

pcmcia: add important if statement

There was a problem introduced in Jul 2008 by:
0e6f9d27 pcmcia: use pcmcia_loop_config in scsi pcmcia drivers
Signed-off-by: NDan Carpenter <error27@gmail.com>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 0d3a940d
......@@ -1717,6 +1717,7 @@ static int nsp_cs_config(struct pcmcia_device *link)
cfg_mem->data = data;
ret = pcmcia_loop_config(link, nsp_cs_config_check, cfg_mem);
if (ret)
goto cs_failed;
if (link->conf.Attributes & CONF_ENABLE_IRQ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册