Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18382
b: refs/heads/master
c: 79f9fb8
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Greg Kroah-Hartman committed Jan 13, 2006
1 parent a39f613 commit 06b321c
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: c6a09196bab3bc9e515b713193d61e3e87c720f7
refs/heads/master: 79f9fb8886d901fd549793a4ad632ece51c68405
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/of_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ static int of_device_resume(struct device * dev)
struct bus_type of_platform_bus_type = {
.name = "of_platform",
.match = of_platform_bus_match,
.probe = of_device_probe,
.remove = of_device_remove,
.suspend = of_device_suspend,
.resume = of_device_resume,
};
Expand All @@ -150,8 +152,6 @@ int of_register_driver(struct of_platform_driver *drv)
/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &of_platform_bus_type;
drv->driver.probe = of_device_probe;
drv->driver.remove = of_device_remove;

/* register with core */
count = driver_register(&drv->driver);
Expand Down

0 comments on commit 06b321c

Please sign in to comment.