metag: use common of_flat_dt_match_machine
authorRob Herring <rob.herring@calxeda.com>
Wed, 25 Sep 2013 20:49:28 +0000 (15:49 -0500)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Oct 2013 01:03:57 +0000 (20:03 -0500)
commit986c494b3c05bac5eace21f8e3a42f2afbfcbd34
tree039ce7d9c78bc1f4f8616202c90d107da82cd95f
parentf2b99bccae87de82a5d03838abe85d604ee7e525
metag: use common of_flat_dt_match_machine

Convert metag to use the common of_flat_dt_get_machine_name function.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
[james.hogan: fix missing arch_get_next_mach and const mismatch]
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/mach/arch.h
arch/metag/include/asm/prom.h
arch/metag/kernel/devtree.c
arch/metag/kernel/setup.c