OSDN Git Service

soc: renesas: rcar-sysc: Use [] to denote a flexible array member
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Jun 2019 12:00:56 +0000 (14:00 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 29 Jul 2019 13:36:56 +0000 (15:36 +0200)
commit0ed0eb0171d7c19310d9f7b06a6dee82a4fb8ab6
treee244cec15df79c81ddabdc8a5773b6473facc64c
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
soc: renesas: rcar-sysc: Use [] to denote a flexible array member

Flexible array members should be denoted using [] instead of [0], else
gcc will not warn when they are no longer at the end of the structure.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/rcar-sysc.c