From 1b189c445fc54387c7a3bb94c61232d4f3846922 Mon Sep 17 00:00:00 2001 From: Lijun Pan Date: Fri, 29 May 2015 12:24:19 -0500 Subject: clk: fix type cast warning Signed-off-by: Lijun Pan Change-Id: Ife4ad017add52bdd911b373d5d8dbb55a7e680ec Reviewed-on: http://git.am.freescale.net:8181/37122 Tested-by: Review Code-CDREVIEW Reviewed-by: Honghua Yin diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index bbb2568..4c3d27c 100644 --- a/drivers/clk/clk-qoriq.c +++ b/drivers/clk/clk-qoriq.c @@ -127,7 +127,7 @@ static void __init core_mux_init(struct device_node *np) init.name = clk_name; init.ops = &cmux_ops; init.parent_names = parent_names; - init.num_parents = count; + init.num_parents = (u8)count; init.flags = 0; cmux_clk->hw.init = &init; -- cgit v0.10.2