]> git.baikalelectronics.ru Git - kernel.git/commit
soc: imx: gpc: fix initialiser format
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 15 Oct 2019 14:09:09 +0000 (15:09 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sat, 26 Oct 2019 11:47:31 +0000 (19:47 +0800)
commitc4afe442dc20300688ca4668fbeb3a4d2e00eea8
treec186251bc0d81f3dce0be00f2ce88bea2ec01387
parent02b8845f1736ab0067e150ff62885aba6544a560
soc: imx: gpc: fix initialiser format

Make the initialiers in imx_gpc_domains C99 format to fix the
following sparse warnings:

drivers/soc/imx/gpc.c:252:30: warning: obsolete array initializer, use C99 syntax
drivers/soc/imx/gpc.c:258:29: warning: obsolete array initializer, use C99 syntax
drivers/soc/imx/gpc.c:269:34: warning: obsolete array initializer, use C99 syntax
drivers/soc/imx/gpc.c:278:30: warning: obsolete array initializer, use C99 syntax

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Fixes: a2452b86af30 ("soc: imx: gpc: use GPC_PGC_DOMAIN_* indexes")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpc.c