From: Laurent Pinchart Date: Wed, 9 Jan 2013 00:52:42 +0000 (+0100) Subject: ARM: shmobile: kzm9g: Use of_machine_is_compatible() X-Git-Tag: v3.9-rc1~117^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf24450528094e44c8b20008b79ff60ff522152c;p=pandora-kernel.git ARM: shmobile: kzm9g: Use of_machine_is_compatible() The machine number is hardcoded to ~0 on DT-enabled machines, making machine_is_*() always fail when support for more than one machine is compiled into the kernel. Replace the machine_is_kzm9g() call with of_machine_is_compatible("renesas,kzm9g"). Signed-off-by: Laurent Pinchart Acked-by: Linus Walleij Signed-off-by: Simon Horman --- Reading git-diff-tree failed