diff options
-rw-r--r-- | arch/powerpc/kernel/ibmebus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index e3b1fcd6d991..9d42eb57aea3 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch/powerpc/kernel/ibmebus.c | |||
@@ -53,7 +53,7 @@ static struct device ibmebus_bus_device = { /* fake "parent" device */ | |||
53 | struct bus_type ibmebus_bus_type; | 53 | struct bus_type ibmebus_bus_type; |
54 | 54 | ||
55 | /* These devices will automatically be added to the bus during init */ | 55 | /* These devices will automatically be added to the bus during init */ |
56 | static struct of_device_id __initdata builtin_matches[] = { | 56 | static struct of_device_id __initdata ibmebus_matches[] = { |
57 | { .compatible = "IBM,lhca" }, | 57 | { .compatible = "IBM,lhca" }, |
58 | { .compatible = "IBM,lhea" }, | 58 | { .compatible = "IBM,lhea" }, |
59 | {}, | 59 | {}, |
@@ -354,7 +354,7 @@ static int __init ibmebus_bus_init(void) | |||
354 | return err; | 354 | return err; |
355 | } | 355 | } |
356 | 356 | ||
357 | err = ibmebus_create_devices(builtin_matches); | 357 | err = ibmebus_create_devices(ibmebus_matches); |
358 | if (err) { | 358 | if (err) { |
359 | device_unregister(&ibmebus_bus_device); | 359 | device_unregister(&ibmebus_bus_device); |
360 | bus_unregister(&ibmebus_bus_type); | 360 | bus_unregister(&ibmebus_bus_type); |