diff options
Diffstat (limited to 'arch/powerpc/platforms/52xx/lite5200.c')
-rw-r--r-- | arch/powerpc/platforms/52xx/lite5200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/52xx/lite5200.c b/arch/powerpc/platforms/52xx/lite5200.c index 7492de3cf6d0..c94c385cc919 100644 --- a/arch/powerpc/platforms/52xx/lite5200.c +++ b/arch/powerpc/platforms/52xx/lite5200.c | |||
@@ -183,7 +183,7 @@ static const char * const board[] __initconst = { | |||
183 | */ | 183 | */ |
184 | static int __init lite5200_probe(void) | 184 | static int __init lite5200_probe(void) |
185 | { | 185 | { |
186 | return of_flat_dt_match(of_get_flat_dt_root(), board); | 186 | return of_device_compatible_match(of_root, board); |
187 | } | 187 | } |
188 | 188 | ||
189 | define_machine(lite5200) { | 189 | define_machine(lite5200) { |