diff options
| author | Geert Uytterhoeven <geert@linux-m68k.org> | 2018-10-28 19:09:22 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-11-07 17:27:39 +0300 |
| commit | de226ebda96cafa981b9c0fef56888931668b671 (patch) | |
| tree | 6d8597b04a3072098bca91f0f9846c9f230f0b45 /drivers/fpga/fpga-mgr.c | |
| parent | 61d0de0543a6e982918c6054a6a12cfbdd73018a (diff) | |
| download | linux-de226ebda96cafa981b9c0fef56888931668b671.tar.xz | |
regulator: bd718x7: Remove double indirection for bd718xx_pmic_inits.rdatas
With gcc 4.1:
drivers/regulator/bd718x7-regulator.c: In function ‘bd718xx_probe’:
drivers/regulator/bd718x7-regulator.c:1020: warning: initialization from incompatible pointer type
drivers/regulator/bd718x7-regulator.c:1024: warning: initialization from incompatible pointer type
Apparently this old compiler can't handle the obscure double
indirection.
However, there is no need for a double indirection. Just store a
pointer to the array instead, like other drivers tend to do.
Fixes: 494edd266b945f36 ("regulator/mfd: Support ROHM BD71847 power management IC")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
