ARM: cygnus: fix const declaration bcm_cygnus_dt_compat
The const declaration for char* is actually duplicated, however the array of strings is currently not constant. However, typically the dt_compat array is declared as const char *const. Follow that convention and also add the __initconst macro for constant initialization data. Signed-off-by: NStefan Agner <stefan@agner.ch> Acked-by: NScott Branden <sbranden@broadcom.com> Reviewed-by: NRay Jui <rjui@broadcom.com> Tested-by: NRay Jui <rjui@broadcom.com> Acked-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
Showing
想要评论请 注册 或 登录