diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-12-20 16:56:45 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2011-12-27 11:57:13 -0500 |
commit | 7b482c8360d368fd495685a2c69ca4f1e7b29764 (patch) | |
tree | 3cd4fc6d7785d3fd0dd21c7d34cdc1731f2ff6c7 /arch/arm/include/asm | |
parent | 88af7f58c6f1fa28d617392c791f11317bcb590d (diff) |
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/mach/arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h index 2b0efc3104ac..02a718adb598 100644 --- a/arch/arm/include/asm/mach/arch.h +++ b/arch/arm/include/asm/mach/arch.h | |||
@@ -19,7 +19,7 @@ struct machine_desc { | |||
19 | unsigned int nr; /* architecture number */ | 19 | unsigned int nr; /* architecture number */ |
20 | const char *name; /* architecture name */ | 20 | const char *name; /* architecture name */ |
21 | unsigned long atag_offset; /* tagged list (relative) */ | 21 | unsigned long atag_offset; /* tagged list (relative) */ |
22 | const char **dt_compat; /* array of device tree | 22 | const char *const *dt_compat; /* array of device tree |
23 | * 'compatible' strings */ | 23 | * 'compatible' strings */ |
24 | 24 | ||
25 | unsigned int nr_irqs; /* number of IRQs */ | 25 | unsigned int nr_irqs; /* number of IRQs */ |