diff options
author | 2006-01-14 10:42:40 -0800 | |
---|---|---|
committer | 2006-01-14 10:42:40 -0800 | |
commit | 3e2b32b69308e974cd1167beaf266d3c716e4734 (patch) | |
tree | 0f1b24dcb7b066a6322d33235b95655d885695ac /arch/ppc | |
parent | [PATCH] remove unused tmp_buf_sem's (diff) | |
parent | [PATCH] device_shutdown can loop if the driver frees itself (diff) | |
download | linux-3e2b32b69308e974cd1167beaf266d3c716e4734.tar.gz linux-3e2b32b69308e974cd1167beaf266d3c716e4734.tar.bz2 linux-3e2b32b69308e974cd1167beaf266d3c716e4734.zip |
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/syslib/ocp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c index 9ccce438bd7a..ab34b1d6072f 100644 --- 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); |