summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/rsrc_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/rsrc_pci.c b/drivers/pcmcia/rsrc_pci.c
index d11b7d408ed6..8934d3c01f80 100644
--- a/drivers/pcmcia/rsrc_pci.c
+++ b/drivers/pcmcia/rsrc_pci.c
@@ -155,7 +155,7 @@ static struct resource *res_pci_find_mem(u_long base, u_long num,
static int res_pci_init(struct pcmcia_socket *s)
{
- if (!s->cb_dev || !(s->features & SS_CAP_PAGE_REGS)) {
+ if (!s->cb_dev || (!s->features & SS_CAP_PAGE_REGS)) {
dev_err(&s->dev, "not supported by res_pci\n");
return -EOPNOTSUPP;
}