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:

committed by
Rob Herring

parent
88af7f58c6
commit
7b482c8360
@@ -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 */
|
||||
|
Reference in New Issue
Block a user