diff options
| author | 2013-09-25 15:49:28 -0500 | |
|---|---|---|
| committer | 2013-10-09 20:03:57 -0500 | |
| commit | 986c494b3c05bac5eace21f8e3a42f2afbfcbd34 (patch) | |
| tree | 039ce7d9c78bc1f4f8616202c90d107da82cd95f /arch/metag/kernel/setup.c | |
| parent | arm64: use common of_flat_dt_get_machine_name (diff) | |
| download | linux-dev-986c494b3c05bac5eace21f8e3a42f2afbfcbd34.tar.xz linux-dev-986c494b3c05bac5eace21f8e3a42f2afbfcbd34.zip | |
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>
Diffstat (limited to 'arch/metag/kernel/setup.c')
| -rw-r--r-- | arch/metag/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c index 2c697d343088..92cc119594d3 100644 --- a/arch/metag/kernel/setup.c +++ b/arch/metag/kernel/setup.c @@ -115,7 +115,7 @@ extern u32 __dtb_start[]; extern struct console dash_console; #endif -struct machine_desc *machine_desc __initdata; +const struct machine_desc *machine_desc __initdata; /* * Map a Linux CPU number to a hardware thread ID |
