diff options
Diffstat (limited to 'arch/powerpc/kernel/ibmebus.c')
-rw-r--r-- | arch/powerpc/kernel/ibmebus.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index 355257bb149d..21266abfbda6 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch/powerpc/kernel/ibmebus.c | |||
@@ -201,9 +201,6 @@ static int ibmebus_create_devices(const struct of_device_id *matches) | |||
201 | 201 | ||
202 | int ibmebus_register_driver(struct of_platform_driver *drv) | 202 | int ibmebus_register_driver(struct of_platform_driver *drv) |
203 | { | 203 | { |
204 | if (!drv->driver.of_match_table) | ||
205 | drv->driver.of_match_table = drv->match_table; | ||
206 | |||
207 | /* If the driver uses devices that ibmebus doesn't know, add them */ | 204 | /* If the driver uses devices that ibmebus doesn't know, add them */ |
208 | ibmebus_create_devices(drv->driver.of_match_table); | 205 | ibmebus_create_devices(drv->driver.of_match_table); |
209 | 206 | ||