From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Cooper Subject: [PATCH] ARM: kirkwood: fdt: use IEEE1275 status = "okay". Date: Mon, 26 Mar 2012 16:52:55 +0000 Message-ID: <1332780775-3694-1-git-send-email-jason@lakedaemon.net> References: <4F70991E.1000204@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F70991E.1000204-KZfg59tc24xl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: arnd-r2nGTMty4D4@public.gmane.org, olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org Cc: nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, andrew-g2DYL2Zd6BY@public.gmane.org, Jason Cooper , jm-Pj/HzkgeCk7QXOPxS62xeg@public.gmane.org, michael-QKn5cuLxLXY@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Signed-off-by: Jason Cooper --- - This should prevent others from making the same mistake I did when searching the code. arch/arm/boot/dts/kirkwood-dreamplug.dts | 2 +- drivers/of/base.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts index a5376b8..7b2b961 100644 --- a/arch/arm/boot/dts/kirkwood-dreamplug.dts +++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts @@ -18,7 +18,7 @@ ocp@f1000000 { serial@12000 { clock-frequency = <200000000>; - status = "ok"; + status = "okay"; }; }; }; diff --git a/drivers/of/base.c b/drivers/of/base.c index 133908a..31eac15 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -285,6 +285,7 @@ int of_device_is_available(const struct device_node *device) return 1; if (statlen > 0) { + /* new boards should use "okay" according to IEEE1275 */ if (!strcmp(status, "okay") || !strcmp(status, "ok")) return 1; } -- 1.7.3.4