Commit 2c8cc4f3 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix incorrect bracketing in maestro

parent ddad881a
......@@ -3367,7 +3367,7 @@ parse_power(struct ess_card *card, struct pci_dev *pcidev)
/* check to see if we have a capabilities list in
the config register */
pci_read_config_word(pcidev, PCI_STATUS, &w);
if(! w & PCI_STATUS_CAP_LIST) return 0;
if(!(w & PCI_STATUS_CAP_LIST)) return 0;
/* walk the list, starting at the head. */
pci_read_config_byte(pcidev,PCI_CAPABILITY_LIST,&next);
......
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