mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
Revert "pcmcia: fix incorrect bracketing on a test"
This reverts commit c3762b248f
.
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>
This commit is contained in:
parent
b2c08ba27f
commit
05c0006776
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user