diff options
Diffstat (limited to 'arch/powerpc/platforms/83xx/mpc830x_rdb.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc830x_rdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc830x_rdb.c b/arch/powerpc/platforms/83xx/mpc830x_rdb.c index 4f2d9fea77b7..040d5d085467 100644 --- a/arch/powerpc/platforms/83xx/mpc830x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc830x_rdb.c | |||
@@ -46,7 +46,7 @@ static const char *board[] __initdata = { | |||
46 | */ | 46 | */ |
47 | static int __init mpc830x_rdb_probe(void) | 47 | static int __init mpc830x_rdb_probe(void) |
48 | { | 48 | { |
49 | return of_flat_dt_match(of_get_flat_dt_root(), board); | 49 | return of_device_compatible_match(of_root, board); |
50 | } | 50 | } |
51 | 51 | ||
52 | machine_device_initcall(mpc830x_rdb, mpc83xx_declare_of_platform_devices); | 52 | machine_device_initcall(mpc830x_rdb, mpc83xx_declare_of_platform_devices); |