diff --git a/drivers/pcmcia/rsrc_pci.c b/drivers/pcmcia/rsrc_pci.c index 21c3683b1a53679ee04931cad5298b61f865fdb0..1f67b3ba70fbb49df128e04a9de2432ee7e958cb 100644 --- a/drivers/pcmcia/rsrc_pci.c +++ b/drivers/pcmcia/rsrc_pci.c @@ -156,7 +156,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; }