projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad3ed31
)
[PATCH] Add ocp_bus_type probe and remove methods
author
Russell King
<rmk@arm.linux.org.uk>
Thu, 5 Jan 2006 14:35:09 +0000
(14:35 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 13 Jan 2006 19:26:06 +0000
(11:26 -0800)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/ppc/syslib/ocp.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ppc/syslib/ocp.c
b/arch/ppc/syslib/ocp.c
index 9ccce438bd7af7ffc1dce54b32377a5975140bcd..ab34b1d6072f6e350c0dfd930c848702ce710157 100644
(file)
--- a/
arch/ppc/syslib/ocp.c
+++ b/
arch/ppc/syslib/ocp.c
@@
-189,6
+189,8
@@
ocp_device_resume(struct device *dev)
struct bus_type ocp_bus_type = {
.name = "ocp",
.match = ocp_device_match,
+ .probe = ocp_driver_probe,
+ .remove = ocp_driver_remove,
.suspend = ocp_device_suspend,
.resume = ocp_device_resume,
};
@@
-210,8
+212,6
@@
ocp_register_driver(struct ocp_driver *drv)
/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &ocp_bus_type;
- drv->driver.probe = ocp_device_probe;
- drv->driver.remove = ocp_device_remove;
/* register with core */
return driver_register(&drv->driver);