diff options
Diffstat (limited to 'arch/arm/mach-mvebu')
-rw-r--r-- | arch/arm/mach-mvebu/coherency.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c index 32fcf69f4202..be117591f7f2 100644 --- a/arch/arm/mach-mvebu/coherency.c +++ b/arch/arm/mach-mvebu/coherency.c | |||
@@ -147,8 +147,9 @@ int __init coherency_init(void) | |||
147 | 147 | ||
148 | static int __init coherency_late_init(void) | 148 | static int __init coherency_late_init(void) |
149 | { | 149 | { |
150 | bus_register_notifier(&platform_bus_type, | 150 | if (of_find_matching_node(NULL, of_coherency_table)) |
151 | &mvebu_hwcc_platform_nb); | 151 | bus_register_notifier(&platform_bus_type, |
152 | &mvebu_hwcc_platform_nb); | ||
152 | return 0; | 153 | return 0; |
153 | } | 154 | } |
154 | 155 | ||