ddr: socfpga: gen5: constify altera_gen5_sdram_ops
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Wed, 23 Oct 2019 20:19:37 +0000 (22:19 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 20 Nov 2019 21:32:00 +0000 (22:32 +0100)
commitaacd7b922f052a53c34e3b2d2c92bac27e16dad5
treef147ff0413de67aca2cde50e48c328f66c61c14f
parent086269e17dda1b5000ef7b09bb5dc71b2421cc74
ddr: socfpga: gen5: constify altera_gen5_sdram_ops

Make the function pointer struct const, as it does not need to be
writable. This doesn't really change anything other than moving this
variable to a different section. No functional change.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
drivers/ddr/altera/sdram_gen5.c