Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295356
b: refs/heads/master
c: 2eac58d
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Jan 25, 2012
1 parent dfff861 commit 994546a
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3bf96889976168827eade6788f26391de051e872
refs/heads/master: 2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
3 changes: 3 additions & 0 deletions trunk/drivers/amba/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ int amba_device_add(struct amba_device *dev, struct resource *parent)
void __iomem *tmp;
int i, ret;

WARN_ON(dev->irq[0] == (unsigned int)-1);
WARN_ON(dev->irq[1] == (unsigned int)-1);

ret = request_resource(parent, &dev->res);
if (ret)
goto err_out;
Expand Down

0 comments on commit 994546a

Please sign in to comment.