diff mbox

[2/3] ARM: kernel: downgrade missing clock-frequency from error to warning

Message ID 1371739146-32639-3-git-send-email-f.fainelli@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Florian Fainelli June 20, 2013, 2:39 p.m. UTC
A subsequent patch will modify the ARM CPU binding documentation to make
it mandatory to supply either a "clocks" node, or a "clock-frequency"
node when the property "device_type" equals "cpu". Since this is going
to start spitting errors for some in-tree platforms, dowgrade the error
message to a simple warning.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/arm/kernel/topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 8f340a1..091ec84 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -124,7 +124,7 @@  static void __init parse_dt_topology(void)
 		if (IS_ERR(cpu_clk)) {
 			prop = of_get_property(cn, "clock-frequency", &len);
 			if (!prop || len != 4) {
-				pr_err("%s missing clock-frequency property\n",
+				pr_warn("%s missing clock-frequency property\n",
 					cn->full_name);
 				continue;
 			}