From: Linus Walleij Date: Tue, 21 Jan 2014 08:06:21 +0000 (+0100) Subject: clk: nomadik: fix multiplatform problem X-Git-Tag: v3.14-rc6~35^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6deea1a147a10baf1672dc66025a13bc259680;p=pandora-kernel.git clk: nomadik: fix multiplatform problem The Nomadik debugfs screws up multiplatform boots if debugfs is enabled on the multiplatform image, since it's a simple initcall that is unconditionally executed and reads from certain memory locations. Fix this by checking that the driver has been properly initialized, so a base offset to the Nomadik SRC controller exists, before proceeding to register debugfs files. Reported-by: Andrew Lunn Signed-off-by: Linus Walleij Reviewed-by: Andrew Lunn Signed-off-by: Mike Turquette --- Reading git-diff-tree failed