]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: stm32f7: change setup struct to const
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 29 Oct 2018 14:31:56 +0000 (15:31 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:58 +0000 (16:51 -0500)
commitf06b7811159636c9b71b6edc55a7a6b8e62dab83
tree3c718c069a8ef72de9c95b6db034962741327553
parent76d502cbbc4fe94ee8babb554ac401e535cf7f7d
i2c: stm32f7: change setup struct to const

Change static array to const when it is useful to save memory
(move stm32f7_setup=0x18 from .data to .rodata section)

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/i2c/stm32f7_i2c.c