Commit 05c00067 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "pcmcia: fix incorrect bracketing on a test"

This reverts commit c3762b24.

The file this fixes is about to be reverted.
Reported-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b2c08ba2
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment