diff options
Diffstat (limited to 'drivers/ps3')
-rw-r--r-- | drivers/ps3/system-bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ps3/system-bus.c b/drivers/ps3/system-bus.c index e19992c4db41..d79f949bcb2a 100644 --- a/drivers/ps3/system-bus.c +++ b/drivers/ps3/system-bus.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <asm/udbg.h> | 27 | #include <asm/udbg.h> |
28 | #include <asm/ps3.h> | 28 | #include <asm/ps3.h> |
29 | #include <asm/lv1call.h> | 29 | #include <asm/lv1call.h> |
30 | #include <asm/firmware.h> | ||
30 | 31 | ||
31 | #define dump_mmio_region(_a) _dump_mmio_region(_a, __func__, __LINE__) | 32 | #define dump_mmio_region(_a) _dump_mmio_region(_a, __func__, __LINE__) |
32 | static void _dump_mmio_region(const struct ps3_mmio_region* r, | 33 | static void _dump_mmio_region(const struct ps3_mmio_region* r, |
@@ -167,6 +168,9 @@ int __init ps3_system_bus_init(void) | |||
167 | { | 168 | { |
168 | int result; | 169 | int result; |
169 | 170 | ||
171 | if (!firmware_has_feature(FW_FEATURE_PS3_LV1)) | ||
172 | return 0; | ||
173 | |||
170 | result = bus_register(&ps3_system_bus_type); | 174 | result = bus_register(&ps3_system_bus_type); |
171 | BUG_ON(result); | 175 | BUG_ON(result); |
172 | return result; | 176 | return result; |