Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21998
b: refs/heads/master
c: 305b322
h: refs/heads/master
v: v3
  • Loading branch information
David Vrabel authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 62f9155 commit 0e4d847
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 972de6c8bfd8b36618563be454df1e95a36dc379
refs/heads/master: 305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0
4 changes: 2 additions & 2 deletions trunk/drivers/base/platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int platform_get_irq(struct platform_device *dev, unsigned int num)
{
struct resource *r = platform_get_resource(dev, IORESOURCE_IRQ, num);

return r ? r->start : 0;
return r ? r->start : -ENXIO;
}
EXPORT_SYMBOL_GPL(platform_get_irq);

Expand Down Expand Up @@ -98,7 +98,7 @@ int platform_get_irq_byname(struct platform_device *dev, char *name)
{
struct resource *r = platform_get_resource_byname(dev, IORESOURCE_IRQ, name);

return r ? r->start : 0;
return r ? r->start : -ENXIO;
}
EXPORT_SYMBOL_GPL(platform_get_irq_byname);

Expand Down

0 comments on commit 0e4d847

Please sign in to comment.