Skip to content

Commit

Permalink
Revert "pcmcia: fix incorrect bracketing on a test"
Browse files Browse the repository at this point in the history
This reverts commit c3762b2.

The file this fixes is about to be reverted.

Reported-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Mar 11, 2015
1 parent b2c08ba commit 05c0006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/rsrc_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 05c0006

Please sign in to comment.