From: Anton Vorontsov <avorontsov@ru.mvista.com>
Date: Tue, 18 Mar 2008 15:43:59 +0000 (+0300)
Subject: [POWERPC] 83xx: mpc837x_rdb: add simple-bus compatible matching
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c432797d30ffd10d5510854a0f762dc42903898;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

[POWERPC] 83xx: mpc837x_rdb: add simple-bus compatible matching

This is needed to probe nor and nand flashes on the localbus.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---

diff --git a/arch/powerpc/platforms/83xx/mpc837x_rdb.c b/arch/powerpc/platforms/83xx/mpc837x_rdb.c
index 2293ae51383..c00356bdb1d 100644
--- a/arch/powerpc/platforms/83xx/mpc837x_rdb.c
+++ b/arch/powerpc/platforms/83xx/mpc837x_rdb.c
@@ -46,6 +46,7 @@ static void __init mpc837x_rdb_setup_arch(void)
 static struct of_device_id mpc837x_ids[] = {
 	{ .type = "soc", },
 	{ .compatible = "soc", },
+	{ .compatible = "simple-bus", },
 	{},
 };