ARM/of: allow *machine_desc.dt_compat to be const

This allows dt_compat to point to a constant list of compatible strings.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
Uwe Kleine-König
2011-12-20 22:56:45 +01:00
committed by Rob Herring
parent 88af7f58c6
commit 7b482c8360
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ struct machine_desc {
unsigned int nr; /* architecture number */
const char *name; /* architecture name */
unsigned long atag_offset; /* tagged list (relative) */
const char **dt_compat; /* array of device tree
const char *const *dt_compat; /* array of device tree
* 'compatible' strings */
unsigned int nr_irqs; /* number of IRQs */