diff options
| -rw-r--r-- | arch/powerpc/kernel/of_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/of_device.c b/arch/powerpc/kernel/of_device.c index 7065e40e2f42..22d83d4d1af5 100644 --- a/arch/powerpc/kernel/of_device.c +++ b/arch/powerpc/kernel/of_device.c | |||
| @@ -132,6 +132,8 @@ static int of_device_resume(struct device * dev) | |||
| 132 | struct bus_type of_platform_bus_type = { | 132 | struct bus_type of_platform_bus_type = { |
| 133 | .name = "of_platform", | 133 | .name = "of_platform", |
| 134 | .match = of_platform_bus_match, | 134 | .match = of_platform_bus_match, |
| 135 | .probe = of_device_probe, | ||
| 136 | .remove = of_device_remove, | ||
| 135 | .suspend = of_device_suspend, | 137 | .suspend = of_device_suspend, |
| 136 | .resume = of_device_resume, | 138 | .resume = of_device_resume, |
| 137 | }; | 139 | }; |
| @@ -150,8 +152,6 @@ int of_register_driver(struct of_platform_driver *drv) | |||
| 150 | /* initialize common driver fields */ | 152 | /* initialize common driver fields */ |
| 151 | drv->driver.name = drv->name; | 153 | drv->driver.name = drv->name; |
| 152 | drv->driver.bus = &of_platform_bus_type; | 154 | drv->driver.bus = &of_platform_bus_type; |
| 153 | drv->driver.probe = of_device_probe; | ||
| 154 | drv->driver.remove = of_device_remove; | ||
| 155 | 155 | ||
| 156 | /* register with core */ | 156 | /* register with core */ |
| 157 | count = driver_register(&drv->driver); | 157 | count = driver_register(&drv->driver); |
