]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: kyro: make read-only array ODValues static const
authorColin Ian King <colin.i.king@gmail.com>
Tue, 8 Mar 2022 20:23:28 +0000 (20:23 +0000)
committerHelge Deller <deller@gmx.de>
Fri, 11 Mar 2022 07:27:37 +0000 (08:27 +0100)
commit52085ca29036898616aa4c1dbad3e9bff10b9925
tree4b627bdc81d72f8c11752ef34d3330ec6045f88a
parenta78cc3cf7951466f535af3072ef2cb7e473c5020
video: fbdev: kyro: make read-only array ODValues static const

Don't populate the read-only array ODValues on the stack but
instead make it static const. Also makes the object code a little
smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/kyro/STG4000InitDevice.c