change cpu_module name to model name
This commit is contained in:
parent
62414419fc
commit
70db01f515
@ -225,7 +225,7 @@ static int c_show(struct seq_file *m, void *v)
|
|||||||
np = of_find_node_by_path("/system");
|
np = of_find_node_by_path("/system");
|
||||||
if (np) {
|
if (np) {
|
||||||
if (!of_property_read_string(np, "cpu,model", &cpu_model))
|
if (!of_property_read_string(np, "cpu,model", &cpu_model))
|
||||||
seq_printf(m, "cpu model\t: %s\n", cpu_model);
|
seq_printf(m, "model name\t: %s\n", cpu_model);
|
||||||
of_node_put(np);
|
of_node_put(np);
|
||||||
}
|
}
|
||||||
seq_printf(m, "CPU implementer\t: 0x%02x\n",
|
seq_printf(m, "CPU implementer\t: 0x%02x\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user