clk: bcm281xx: don't use unnamed structs or unions
authorAlex Elder <elder@linaro.org>
Mon, 7 Apr 2014 13:22:12 +0000 (08:22 -0500)
committerMike Turquette <mturquette@linaro.org>
Wed, 30 Apr 2014 18:43:58 +0000 (11:43 -0700)
commite813d49d2a477e3b64a9ff32ca7db5737d36cd91
treede4f0cd6d7b2712e222df183bad7932d294fe885
parentd1db0eea852497762cab43b905b879dfcd3b8987
clk: bcm281xx: don't use unnamed structs or unions

The Broadcom Kona clock code, as originally written, made use of
unnamed union and struct fields.  This is a feature present in C11,
and is a GNU extension otherwise.  It worked very well for me.

Unfortunately, Russell King reported that this feature was not
supported in a build environment he used, which meant attempting
to build this code failed spectacularly.

Add names to these unnamed fields, and update the code accordingly.

Reported-by: Russell King <linux@arm.linux.org.uk>
Tested-by: Markus Mayer <markus.mayer@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/bcm/clk-kona-setup.c
drivers/clk/bcm/clk-kona.c
drivers/clk/bcm/clk-kona.h