diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-01-09 01:52:42 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-01-25 01:26:33 +0100 |
commit | cf24450528094e44c8b20008b79ff60ff522152c (patch) | |
tree | c770590ff47cb054b1cc7690e4ea01413daf0dba /arch/arm/boot | |
parent | ARM: shmobile: add sample amixer settings for armadillo800eva (diff) | |
download | linux-cf24450528094e44c8b20008b79ff60ff522152c.tar.xz linux-cf24450528094e44c8b20008b79ff60ff522152c.zip |
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 <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions