Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81442
b: refs/heads/master
c: 706b7e1
h: refs/heads/master
v: v3
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Jan 31, 2008
1 parent 1f0f60b commit 097cbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fd6a53ddc75d02ad0f363cb42f2a1cec6b701c2
refs/heads/master: 706b7e1573d7b7ad7825e84a6dcfb3d533993b83
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/scx200_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
base = pci_resource_start(pdev, 0);
printk(KERN_INFO NAME ": GPIO base 0x%x\n", base);

if (request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO") == 0) {
if (!request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO")) {
printk(KERN_ERR NAME ": can't allocate I/O for GPIOs\n");
return -EBUSY;
}
Expand Down

0 comments on commit 097cbc5

Please sign in to comment.