Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86316
b: refs/heads/master
c: 104cb57
h: refs/heads/master
v: v3
  • Loading branch information
Christian Krafft authored and Jean Delvare committed Feb 24, 2008
1 parent 00afa52 commit c6765aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e39ffeff6e54ef65832e4eb58059133f1a8aadf
refs/heads/master: 104cb574feb3033299568483a3f68031f47e0d43
7 changes: 7 additions & 0 deletions trunk/drivers/i2c/busses/i2c-pca-isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ static int __devinit pca_isa_probe(struct device *dev, unsigned int id)

dev_info(dev, "i/o base %#08lx. irq %d\n", base, irq);

#ifdef CONFIG_PPC_MERGE
if (check_legacy_ioport(base)) {
dev_err(dev, "I/O address %#08lx is not available\n", base);
goto out;
}
#endif

if (!request_region(base, IO_SIZE, "i2c-pca-isa")) {
dev_err(dev, "I/O address %#08lx is in use\n", base);
goto out;
Expand Down

0 comments on commit c6765aa

Please sign in to comment.