Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143618
b: refs/heads/master
c: 5247aec
h: refs/heads/master
v: v3
  • Loading branch information
Ming Lei authored and Greg Kroah-Hartman committed Apr 16, 2009
1 parent 7f67159 commit 9844e79
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: d110271e1f4140a9fb06d968b1afe9ca56a6064e
refs/heads/master: 5247aecfe62266ffdedf2fc9e4243638554455b6
2 changes: 1 addition & 1 deletion trunk/drivers/base/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ extern int driver_probe_device(struct device_driver *drv, struct device *dev);
static inline int driver_match_device(struct device_driver *drv,
struct device *dev)
{
return drv->bus->match && drv->bus->match(dev, drv);
return drv->bus->match ? drv->bus->match(dev, drv) : 1;
}

extern void sysdev_shutdown(void);
Expand Down

0 comments on commit 9844e79

Please sign in to comment.